This is an automated email from the ASF dual-hosted git repository.

casaroli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 403deb1f10dfbebd097dfaf916ac889e9664eb75
Author: Mahmut Sami ÖZMEN <[email protected]>
AuthorDate: Thu Oct 15 17:03:13 2026 +0300

    boards/rm57l843-launchxl2: Skip the button LED demo when ARCH_LEDS is set.
    
    The demo calls board_userled(), which is not built with ARCH_LEDS, so the
    link fails.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: Mahmut Sami ÖZMEN <[email protected]>
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 boards/arm/rm57/rm57l843-launchxl2/src/rm57_bringup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/rm57/rm57l843-launchxl2/src/rm57_bringup.c 
b/boards/arm/rm57/rm57l843-launchxl2/src/rm57_bringup.c
index b75628e4f66..3d0f35eaf16 100644
--- a/boards/arm/rm57/rm57l843-launchxl2/src/rm57_bringup.c
+++ b/boards/arm/rm57/rm57l843-launchxl2/src/rm57_bringup.c
@@ -45,7 +45,7 @@
 
 #undef HAVE_BUTTON_LED_DEMO
 #if defined(CONFIG_ARCH_BUTTONS) && defined(CONFIG_ARCH_IRQBUTTONS) && \
-    defined(CONFIG_RM57_GIO_IRQ)
+    defined(CONFIG_RM57_GIO_IRQ) && !defined(CONFIG_ARCH_LEDS)
 #  define HAVE_BUTTON_LED_DEMO 1
 #endif
 

Reply via email to