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

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

commit a76f5bab5002d6106e612730ed9559c956a5640a
Author: Ricard Rosson <[email protected]>
AuthorDate: Tue Aug 11 09:02:16 2026 +0100

    examples/apa102: depend on LEDS_APA102, not LCD_APA102
    
    This example drives the APA102 LED-strip character driver: it opens
    /dev/leddrv0 and writes an array of struct apa102_ledstrip_s from
    <nuttx/leds/apa102.h>, which is provided by drivers/leds/apa102.c
    (CONFIG_LEDS_APA102).  CONFIG_LCD_APA102 selects an unrelated driver,
    drivers/lcd/apa102.c, which drives an APA102 matrix as a framebuffer LCD
    and registers no /dev/leddrvN node at all.
    
    The wrong dependency makes the example unusable either way: with the LED
    strip driver enabled the example cannot be selected in menuconfig, and
    with CONFIG_LCD_APA102 the dependency is met but the driver the example
    needs is absent, so it fails at open().
    
    Signed-off-by: Ricard Rosson <[email protected]>
    Assisted-by: Claude Opus 5 (Claude Code)
---
 examples/apa102/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/apa102/Kconfig b/examples/apa102/Kconfig
index 6a896cf83..41509e3e8 100644
--- a/examples/apa102/Kconfig
+++ b/examples/apa102/Kconfig
@@ -6,7 +6,7 @@
 config EXAMPLES_APA102
        tristate "APA102 LED Strip example"
        default n
-       depends on LCD_APA102
+       depends on LEDS_APA102
        ---help---
                Enable the APA102 example
 

Reply via email to