cederom commented on PR #19250:
URL: https://github.com/apache/nuttx/pull/19250#issuecomment-6484208247
CONGRATZ @ricardgb !! =)
```
% uname -a
FreeBSD hexagon 14.5-RELEASE-p2 FreeBSD 14.5-RELEASE-p2
releng/14.5-n274894-872ce416b253 GENERIC amd64
% git log --oneline -1
ed844da44b (HEAD -> master, origin/master, origin/HEAD) xtensa:esp32: Add
docs for ESP32-Sparrow board
% ./tools/configure.sh -B raspberrypi-pico-2-w:composite
(..)
#
# configuration written to .config
#
% gmake -j
Create version.h
(..)
Memory region Used Size Region Size %age Used
FLASH: 232100 B 4 MB 5.53%
RAM: 64392 B 512 KB 12.28%
SCRATCH_X: 0 B 4 KB 0.00%
SCRATCH_Y: 0 B 4 KB 0.00%
Generating: nuttx.uf2
Done.
% picotool load nuttx.uf2
No accessible RP-series devices in BOOTSEL mode were found.
% picotool load nuttx.uf2
Family ID 'rp2350-arm-s' can be downloaded in absolute space:
00000000->02000000
Loading into Flash: [==============================] 100%
% picotool reboot
The device was rebooted into application mode.
% dmesg | tail
Oct 29 01:08:16 hexagon kernel: [53469] ugen1.61: <NuttX Composite device>
at usbus1
Oct 29 01:08:17 hexagon kernel: [53469] umodem0 on uhub19
Oct 29 01:08:17 hexagon kernel: [53469] umodem0: <NuttX Composite device,
class 239/2, rev 2.00/10.10, addr 21> on usbus1
Oct 29 01:08:17 hexagon kernel: [53469] umodem0: data interface 1, has CM
over data, has break
Oct 29 01:08:17 hexagon kernel: [53469] cdce0 on uhub19
Oct 29 01:08:17 hexagon kernel: [53469] cdce0: <NuttX Composite device,
class 239/2, rev 2.00/10.10, addr 21> on usbus1
Oct 29 01:08:17 hexagon kernel: [53469] ue0: <USB Ethernet> on cdce0
Oct 29 01:08:17 hexagon kernel: [53469] ue0: Ethernet address:
02:00:00:11:22:33
% ifconfig ue0
ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 02:00:00:11:22:33
media: Ethernet autoselect
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
% cu -l /dev/cuaU0 -s115200
Connected
NuttShell (NSH) NuttX-13.1.0
nsh> uname -a
NuttX 13.1.0 ed844da44b Oct 29 2026 01:07:19 arm raspberrypi-pico-2-w
nsh> ?
help usage: help [-v] [<cmd>]
. cp expr du rm true
[ cmp false mkdir rmdir truncate
? dirname fdinfo mkrd set uname
alias date free mount kill umount
unalias df help mv pkill unset
arp dmesg hexdump pidof sleep uptime
basename echo ifconfig printf usleep watch
break env ifdown ps source xd
cat exec ifup pwd test wait
cd exit ls reboot time
Builtin Apps:
dd hello ostest sh telnetd
getprime nsh ping telnet
nsh> getprime
Set thread priority to 10
Set thread policy to SCHED_RR
Start thread #0
thread #0 started, looking for primes < 10000, doing 10 run(s)
thread #0 finished, found 1230 primes, last one was 9973
Done
getprime took 2380 msec
nsh> ostest
stdio_test: write fd=1
stdio_test: Standard I/O Check: printf
stdio_test: write fd=2
stdio_test: Standard I/O Check: fprintf to stderr
ostest_main: putenv(Variable1=BadValue3)
ostest_main: setenv(Variable1, GoodValue1, TRUE)
ostest_main: setenv(Variable2, BadValue1, FALSE)
ostest_main: setenv(Variable2, GoodValue2, TRUE)
ostest_main: setenv(Variable3, GoodValue3, FALSE)
ostest_main: setenv(Variable3, BadValue2, FALSE)
show_variable: Variable=Variable1 has value=GoodValue1
show_variable: Variable=Variable2 has value=GoodValue2
show_variable: Variable=Variable3 has value=GoodValue3
ostest_main: Started user_main at PID=9
user_main: vfork() test
vfork_test: Started
vfork_test: Child 10 ran and exited before the parent resumed
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 72078 72078
ordblks 1 1
mxordblk 62a38 62a38
uordblks f640 f640
fordblks 62a38 62a38
(..)
user_main: scheduler lock test
sched_lock: Starting lowpri_thread at 97
sched_lock: Set lowpri_thread priority to 97
sched_lock: Starting highpri_thread at 98
sched_lock: Set highpri_thread priority to 98
sched_lock: Waiting...
sched_lock: PASSED No pre-emption occurred while scheduler was locked.
sched_lock: Starting lowpri_thread at 97
sched_lock: Set lowpri_thread priority to 97
sched_lock: Starting highpri_thread at 98
sched_lock: Set highpri_thread priority to 98
sched_lock: Waiting...
sched_lock: PASSED No pre-emption occurred while scheduler was locked.
sched_lock: Finished
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 72078 72078
ordblks 6 6
mxordblk 4dde8 4dde8
uordblks f840 f840
fordblks 62838 62838
Final memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 72078 72078
ordblks 1 6
mxordblk 62a38 4dde8
uordblks f640 f840
fordblks 62a38 62838
user_main: Exiting
ostest_main: Exiting with status 0
```
--
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]