[PATCH v3 08/25] st: stm32f429: Drop old LED code

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Nov 12 12:18:53 CET 2024


Hi,

On 11/2/24 23:17, Simon Glass wrote:
> This predates the LED framework, so drop it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>   board/st/stm32f429-discovery/Makefile |  1 -
>   board/st/stm32f429-discovery/led.c    | 39 ---------------------------
>   2 files changed, 40 deletions(-)
>   delete mode 100644 board/st/stm32f429-discovery/led.c
>
>
Thanks

for information LEDs are also defined in device tree: 
arch/arm/dts/stm32f429-disco.dts

     leds {
         compatible = "gpio-leds";
         led-red {
             gpios = <&gpiog 14 0>;
         };
         led-green {
             gpios = <&gpiog 13 0>;
             linux,default-trigger = "heartbeat";
         };
     };


but today the CONFIG_LED_GPIO=y is missing in 
configs/stm32f429-discovery_defconfig

to restore the LED support on this board


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>


Thanks
Patrick



More information about the U-Boot mailing list