nuttx/boards/arm
ImBonkers 921c9d1c2f boards/arm/stm32n6/nucleo-n657x0-q: Add userleds support.
Add the userleds driver and register the /dev/userleds device so the
three on-board LEDs (LD5/LD6/LD7) can be driven from userspace when
CONFIG_ARCH_LEDS is disabled.  Structure mirrors
boards/arm/stm32h5/nucleo-h563zi with one adjustment: GPIO writes
invert state for the active-low wiring.  ARCH_LEDS / USERLED remain
mutually exclusive per the H5/H7 convention.

stm32_bringup.c now calls userled_lower_initialize("/dev/userleds")
when CONFIG_USERLED_LOWER is set; mirrors the H5 bringup hook.

Ship a nucleo-n657x0-q:leds defconfig that bundles ARCH_LEDS=n +
USERLED + USERLED_LOWER + EXAMPLES_LEDS (LEDSET=0x07) so the userled
path is reproducible with one configure step.

Tested on Nucleo-N657X0-Q with arm-none-eabi-gcc.  Configured with
nucleo-n657x0-q:leds, built and flashed: /dev/userleds appears and
the 'leds' NSH command cycles Red, Green and Blue independently as
expected.

Signed-off-by: ImBonkers <samuelnlinden@pm.me>
2026-05-23 20:23:35 +08:00
..
a1x/pcduino-a10 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
am335x/beaglebone-black boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
at32/at32f437-mini boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
c5471/c5471evm boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
csk6 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
cxd56xx !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
dm320/ntosd-dm320 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
efm32 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
eoss3/quickfeather boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
fvp-v8r-aarch32/fvp-armv8r-aarch32 !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
gd32f4 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
ht32f491x3/esk32 boards/config: Remove final mentions of NSH_ARCHINIT 2026-05-02 15:25:45 -03:00
imx6/sabre-6quad boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
imx9 boards/config: Remove final mentions of NSH_ARCHINIT 2026-05-02 15:25:45 -03:00
imxrt !drivers/pwm: remove PWM_MULTICHAN option 2026-05-18 11:35:25 -04:00
kinetis boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
kl boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
lc823450/lc823450-xgevk !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
lpc17xx_40xx boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
lpc31xx arch/ceva: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
lpc43xx arch/ceva: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
lpc54xx/lpcxpresso-lpc54628 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
lpc214x boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
lpc2378/olimex-lpc2378 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
max326xx/max32660-evsys boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
mcx-nxxx/frdm-mcxn236 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
moxart/moxa !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
mps !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
mx8mp/verdin-mx8mp boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
nrf52 !drivers/pwm: remove PWM_MULTICHAN option 2026-05-18 11:35:25 -04:00
nrf53 !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
nrf91 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
nuc1xx/nutiny-nuc120 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
phy62xx/phy6222 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
qemu boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
ra4 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
rp23xx !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
rp2040 !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
s32k1xx boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
s32k3xx boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
sam34 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
sama5 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
samd2l2 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
samd5e5 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
samv7 !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
stm32 board: enable LTO on g431 nsh boards and fix LTO link with toolchain switch 2026-05-19 16:21:28 +08:00
stm32f0l0g0 boards/nucleo-c0XXX: add PWM support 2026-05-20 13:13:01 -04:00
stm32f7 !drivers/pwm: remove PWM_MULTICHAN option 2026-05-18 11:35:25 -04:00
stm32h5/nucleo-h563zi boards/nucleo-h563zi/nshusbnet: normalize defconfig 2026-05-06 08:33:06 -04:00
stm32h7 boards/arm/stm32h7: Add support fpr nucleo-h753zi board 2026-05-21 08:56:24 +02:00
stm32l4 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
stm32l5 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
stm32n6/nucleo-n657x0-q boards/arm/stm32n6/nucleo-n657x0-q: Add userleds support. 2026-05-23 20:23:35 +08:00
stm32u5 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
stm32wb arch/ceva: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
stm32wl5/nucleo-wl55jc boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
str71x/olimex-strp711 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
tiva board: enable LTO on g431 nsh boards and fix LTO link with toolchain switch 2026-05-19 16:21:28 +08:00
tlsr82/tlsr8278adk80d !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
tms570 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
xmc4 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00