From 07756e53324ddb06297358636b73988f073a4a38 Mon Sep 17 00:00:00 2001 From: Siddharth Chandrasekaran Date: Sun, 13 Sep 2020 20:38:09 +0530 Subject: [PATCH] board: stm32_min_dev: Fix LED0 connection inversion The on-board LED of the blue and black variants of these boards have LED logic inverted. This was never observed as most of the time, the LED was used as a blinky. Fix this by setting its DT bindings to active low. Signed-off-by: Siddharth Chandrasekaran --- boards/arm/stm32_min_dev/stm32_min_dev_black.dts | 2 +- boards/arm/stm32_min_dev/stm32_min_dev_blue.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/stm32_min_dev/stm32_min_dev_black.dts b/boards/arm/stm32_min_dev/stm32_min_dev_black.dts index f07fc1e8453..8df88f45052 100644 --- a/boards/arm/stm32_min_dev/stm32_min_dev_black.dts +++ b/boards/arm/stm32_min_dev/stm32_min_dev_black.dts @@ -13,7 +13,7 @@ leds { led: led { - gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>; + gpios = <&gpiob 12 GPIO_ACTIVE_LOW>; }; }; }; diff --git a/boards/arm/stm32_min_dev/stm32_min_dev_blue.dts b/boards/arm/stm32_min_dev/stm32_min_dev_blue.dts index e158288dd4c..fe3c23e3481 100644 --- a/boards/arm/stm32_min_dev/stm32_min_dev_blue.dts +++ b/boards/arm/stm32_min_dev/stm32_min_dev_blue.dts @@ -13,7 +13,7 @@ leds { led: led { - gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; + gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; }; }; };