acassis commented on issue #10479:
URL: https://github.com/apache/nuttx/issues/10479#issuecomment-1710878918

   @trns1997 you are right:
   
   ```
   nuttx/boards/arm/stm32/stm32f4discovery$ git grep ARCH_LED
   configs/pm/defconfig:# CONFIG_ARCH_LEDS is not set
   include/board.h:/* If CONFIG_ARCH_LEDS is not defined, then the user can 
control the LEDs
   include/board.h:/* If CONFIG_ARCH_LEDs is defined, then NuttX will control 
the 4 LEDs on
   src/CMakeLists.txt:if(CONFIG_ARCH_LEDS)
   src/Make.defs:ifeq ($(CONFIG_ARCH_LEDS),y)
   src/stm32_autoleds.c:#ifdef CONFIG_ARCH_LEDS
   src/stm32_autoleds.c:#endif /* CONFIG_ARCH_LEDS */
   src/stm32_boot.c:#ifdef CONFIG_ARCH_LEDS
   src/stm32_idle.c:#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
   src/stm32_userleds.c:#ifndef CONFIG_ARCH_LEDS
   src/stm32_userleds.c:#endif /* !CONFIG_ARCH_LEDS */
   
   
   nuttx/boards/arm/stm32/stm32f411e-disco$ git grep ARCH_LED
   configs/nsh/defconfig:# CONFIG_ARCH_LEDS is not set
   src/stm32_boot.c:#ifdef CONFIG_ARCH_LEDS
   alan@dev:~/nuttxspace/nuttx/boards/arm/stm32/stm32f411e-disco$ 
   ```
   
   Just copy the code from stm32f4discovery to your board


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to