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

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

commit 5fa9663e8fcc8023198036e031303cfa30dcb006
Author: Junbo Zheng <[email protected]>
AuthorDate: Sat Oct 31 23:36:33 2026 +0800

    boards/arm/sam34/arduino-due: fix lowercase CONFIG_ARCH_LEDs
    
    Kconfig defines ARCH_LEDS uppercase but arduino-due.h uses the
    lowercase 's', so the #ifdef is always false and the pin-conflict
    #error guard (LEDs vs ITEAD SD card, src/sam_mmcsd.c) silently
    never fires when both are enabled.
    
    Kconfig: boards/Kconfig:4537      config ARCH_LEDS
    Before:  #ifdef CONFIG_ARCH_LEDs   (src/arduino-due.h:225)
    After:   #ifdef CONFIG_ARCH_LEDS
    Signed-off-by: Junbo Zheng <[email protected]>
---
 boards/arm/sam34/arduino-due/src/arduino-due.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/sam34/arduino-due/src/arduino-due.h 
b/boards/arm/sam34/arduino-due/src/arduino-due.h
index d3e0219679d..30d780fb341 100644
--- a/boards/arm/sam34/arduino-due/src/arduino-due.h
+++ b/boards/arm/sam34/arduino-due/src/arduino-due.h
@@ -222,7 +222,7 @@
  * - Either PA28 or PC29 may drive D10
  */
 
-#    ifdef CONFIG_ARCH_LEDs
+#    ifdef CONFIG_ARCH_LEDS
 #      error LEDs may not be used with the ITEAD SD card
 #    endif
 

Reply via email to