Browse Source

dts: boards: st, stm32f3_disco: update user button logic

Updated the stm32f3_disco board user button logic from
active low to active high as per datasheet.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
pull/87883/head
Muhammad Waleed Badar 3 months ago committed by Benjamin Cabé
parent
commit
c6579041d7
  1. 2
      boards/st/stm32f3_disco/stm32f3_disco.dts

2
boards/st/stm32f3_disco/stm32f3_disco.dts

@ -61,7 +61,7 @@
compatible = "gpio-keys"; compatible = "gpio-keys";
user_button: button { user_button: button {
label = "User"; label = "User";
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>; gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
zephyr,code = <INPUT_KEY_0>; zephyr,code = <INPUT_KEY_0>;
}; };
}; };

Loading…
Cancel
Save