iamadahn opened a new pull request, #21488:
URL: https://github.com/apache/nuttx/pull/21488
## Summary
Adds 2 new configurations for WeAct STM32G0B1 board - userled and buttons.
## Impact
With this configurations users will be able to test onboard led and button
with example applications from nuttx-apps
## Testing
Test logs for ```userled``` configuration:
```
NuttShell (NSH) NuttX-13.1.0
nsh> ?
help usage: help [-v] [<cmd>]
. cat exec du source watch
[ cd exit printf test xd
? cp expr pwd time
alias cmp false set true
unalias dirname help kill uname
basename dmesg hexdump sleep unset
break echo ls usleep uptime
Builtin Apps:
dd hello leds nsh sh
nsh> uname -a
NuttX 13.1.0 2f38e12144 Nov 5 2026 14:08:12 arm weact-stm32g0b1
nsh> leds
leds_main: Starting the led_daemon
leds_main: led_daemon started
led_daemon (pid# 4): Running
led_daemon: Opening /dev/userleds
led_daemon: Supported LEDs 0x01
led_daemon: LED set 0x01
nsh> led_daemon: LED set 0x00
led_daemon: LED set 0x01
led_daemon: LED set 0x00
led_daemon: LED set 0x01
led_daemon: LED set 0x00
led_daemon: LED set 0x01
led_daemon: LED set 0x00
led_daemon: LED set 0x01
led_daemon: LED set 0x00
led_daemon: LED set 0x01
led_daemon: LED set 0x00
led_daemon: LED set 0x01
led_daemon: LED set 0x00
led_daemon: LED set 0x01
```
Test logs for ```button``` configuration where I launch buttons example from
nsh and press the button 5 times:
```
NuttShell (NSH) NuttX-13.1.0
nsh> ?
help usage: help [-v] [<cmd>]
. cat exec du source watch
[ cd exit printf test xd
? cp expr pwd time
alias cmp false set true
unalias dirname help kill uname
basename dmesg hexdump sleep unset
break echo ls usleep uptime
Builtin Apps:
buttons dd hello nsh sh
nsh> uname -a
NuttX 13.1.0 2f38e12144 Nov 5 2026 14:13:14 arm weact-stm32g0b1
nsh> buttons
buttons_main: Starting the button_daemon
buttons_main: button_daemon started
button_daemon: Running
button_daemon: Opening /dev/buttons
button_daemon: Supported BUTTONs 0x01
nsh> Sample = 0
Sample = 1
Sample = 0
Sample = 1
Sample = 0
Sample = 1
Sample = 0
Sample = 1
Sample = 0
Sample = 1
```
--
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]