Skip to content

Instantly share code, notes, and snippets.

@cederom
Created July 8, 2026 22:11
Show Gist options
  • Select an option

  • Save cederom/9291c87bed7e15d8a25ce9750c239bb4 to your computer and use it in GitHub Desktop.

Select an option

Save cederom/9291c87bed7e15d8a25ce9750c239bb4 to your computer and use it in GitHub Desktop.
****************************************
* NUTTX RTOS RELEASE BUILD TEST SCRIPT *
****************************************
NX BRANCH : nuttx-13.0.0-RC2
NX RTOS LOC : /tmp/nuttx/nuttx.git
NX APPS LOC : /tmp/nuttx/nuttx-apps.git
TARGET : RP2040-RASPBERRYPI-PICO
BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p7 FreeBSD 14.4-RELEASE-p7 #0 -dirty: Tue Jun 30 08:53:56 UTC 2026 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
MFLAGS : -j24 CROSSDEV=arm-none-eabi-
LOGFILE : log/nuttx-13.0.0-RC2-1783548176-RP2040-RASPBERRYPI-PICO.log
TIMESTAMP : 1783548176
=>
=> GIT REPO CLONE CHECK
=>
=>
=> INITIAL CLEAN AND SETUP
=>
++ set -e
++ cd /tmp/nuttx/nuttx.git
++ set +e
++ gmake clean distclean -j24 CROSSDEV=arm-none-eabi-
NuttX has not been configured!
To configure the project:
NuttX has not been configured!
tools/configure.sh <config>
To configure the project:
For a list of available configurations:
tools/configure.sh <config>
tools/configure.sh -L
For a list of available configurations:
tools/configure.sh -L
++ rm -f .config
++ set -e
++ git checkout master
Previous HEAD position was f5291a8df1 !boards: enforce secure ROMFS passwd and TEA key setup
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
++ git fetch origin
++ git pull origin
Already up to date.
++ git checkout nuttx-13.0.0-RC2
Note: switching to 'nuttx-13.0.0-RC2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at f5291a8df1 !boards: enforce secure ROMFS passwd and TEA key setup
++ git reset --hard
HEAD is now at f5291a8df1 !boards: enforce secure ROMFS passwd and TEA key setup
++ cd /tmp/nuttx/nuttx-apps.git
++ git checkout master
Previous HEAD position was 20ffb1a3a apps/nsh: Don't disable error by default
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
++ git fetch origin
++ git pull origin
Already up to date.
++ git checkout nuttx-13.0.0-RC2
Note: switching to 'nuttx-13.0.0-RC2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 20ffb1a3a apps/nsh: Don't disable error by default
++ git reset --hard
HEAD is now at 20ffb1a3a apps/nsh: Don't disable error by default
++ cd /tmp/nuttx/nuttx.git
+ set +x
=>
=> BUILDING RP2040-RASPBERRYPI-PICO
=>
==> LOGFILE: log/nuttx-13.0.0-RC2-1783548176-RP2040-RASPBERRYPI-PICO.log.
==> COMPILER:
arm-none-eabi-gcc (gcc) 14.2.1 20241119
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Press Return when ready.
+ for CFG in $CONFIGS
+ set +x
===>
===> RP2040-RASPBERRYPI-PICO: raspberrypi-pico:usbnsh
===>
+ gmake clean distclean -j24 CROSSDEV=arm-none-eabi-
NuttX has not been configured!
NuttX has not been configured!
To configure the project:
tools/configure.sh <config>
For a list of available configurations:
tools/configure.sh -L
To configure the project:
tools/configure.sh <config>
For a list of available configurations:
tools/configure.sh -L
+ /usr/bin/time -h ./tools/configure.sh -B raspberrypi-pico:usbnsh
Copy files
Select CONFIG_HOST_BSD=y
Refreshing...
CP: arch/dummy/Kconfig to /tmp/nuttx/nuttx.git/arch/dummy/dummy_kconfig
CP: boards/dummy/Kconfig to /tmp/nuttx/nuttx.git/boards/dummy/dummy_kconfig
LN: platform/board to /tmp/nuttx/nuttx-apps.git/platform/dummy
LN: include/arch to arch/arm/include
LN: include/arch/board to /tmp/nuttx/nuttx.git/boards/arm/rp2040/raspberrypi-pico/include
LN: drivers/platform to /tmp/nuttx/nuttx.git/drivers/dummy
LN: include/arch/chip to /tmp/nuttx/nuttx.git/arch/arm/include/rp2040
LN: arch/arm/src/chip to /tmp/nuttx/nuttx.git/arch/arm/src/rp2040
LN: arch/arm/src/board to /tmp/nuttx/nuttx.git/boards/arm/rp2040/raspberrypi-pico/../common
LN: arch/arm/src/board/board to /tmp/nuttx/nuttx.git/boards/arm/rp2040/raspberrypi-pico/src
mkkconfig in /tmp/nuttx/nuttx-apps.git/audioutils
mkkconfig in /tmp/nuttx/nuttx-apps.git/benchmarks
mkkconfig in /tmp/nuttx/nuttx-apps.git/boot
mkkconfig in /tmp/nuttx/nuttx-apps.git/canutils
mkkconfig in /tmp/nuttx/nuttx-apps.git/crypto
mkkconfig in /tmp/nuttx/nuttx-apps.git/database
mkkconfig in /tmp/nuttx/nuttx-apps.git/examples/elf/tests
mkkconfig in /tmp/nuttx/nuttx-apps.git/examples/elf
mkkconfig in /tmp/nuttx/nuttx-apps.git/examples/mcuboot
mkkconfig in /tmp/nuttx/nuttx-apps.git/examples/module
mkkconfig in /tmp/nuttx/nuttx-apps.git/examples/rust
mkkconfig in /tmp/nuttx/nuttx-apps.git/examples/sotest
mkkconfig in /tmp/nuttx/nuttx-apps.git/examples
mkkconfig in /tmp/nuttx/nuttx-apps.git/fsutils
mkkconfig in /tmp/nuttx/nuttx-apps.git/games
mkkconfig in /tmp/nuttx/nuttx-apps.git/graphics
mkkconfig in /tmp/nuttx/nuttx-apps.git/industry/modbus
mkkconfig in /tmp/nuttx/nuttx-apps.git/industry
mkkconfig in /tmp/nuttx/nuttx-apps.git/inertial
mkkconfig in /tmp/nuttx/nuttx-apps.git/interpreters/luamodules
mkkconfig in /tmp/nuttx/nuttx-apps.git/interpreters
mkkconfig in /tmp/nuttx/nuttx-apps.git/logging
mkkconfig in /tmp/nuttx/nuttx-apps.git/lte
mkkconfig in /tmp/nuttx/nuttx-apps.git/math
mkkconfig in /tmp/nuttx/nuttx-apps.git/mlearning
mkkconfig in /tmp/nuttx/nuttx-apps.git/netutils
mkkconfig in /tmp/nuttx/nuttx-apps.git/sdr
mkkconfig in /tmp/nuttx/nuttx-apps.git/system
mkkconfig in /tmp/nuttx/nuttx-apps.git/tee
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing/arch
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing/cxx
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing/drivers
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing/fs
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing/libc
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing/mm
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing/sched
mkkconfig in /tmp/nuttx/nuttx-apps.git/testing
mkkconfig in /tmp/nuttx/nuttx-apps.git/videoutils
mkkconfig in /tmp/nuttx/nuttx-apps.git/wireless/bluetooth
mkkconfig in /tmp/nuttx/nuttx-apps.git/wireless/ieee802154
mkkconfig in /tmp/nuttx/nuttx-apps.git/wireless
mkkconfig in /tmp/nuttx/nuttx-apps.git
boards/Kconfig:5602:warning: leading whitespace ignored
#
# configuration written to .config
#
1,70s real 0,98s user 0,89s sys
+ /usr/bin/time -h gmake -j24 CROSSDEV=arm-none-eabi-
Create version.h
LN: platform/board to /tmp/nuttx/nuttx-apps.git/platform/dummy
Register: getprime
Register: hello
Register: nsh
Register: ostest
Register: sh
Register: dd

CC: dummy.c 
CC: boardctl.c 
CC: binfmt_globals.c 
CC: binfmt_initialize.c 
CC: binfmt_register.c 
CC: binfmt_unregister.c 
CC: binfmt_loadmodule.c 
CC: mm_heap/mm_initialize.c 
CC: binfmt_unloadmodule.c 
CC: mm_heap/mm_lock.c 
CC: binfmt_execmodule.c 
CC: mm_heap/mm_malloc_size.c 
CC: binfmt_exec.c 
CC: mm_heap/mm_shrinkchunk.c 
CC: mm_heap/mm_brkaddr.c 
CC: binfmt_copyargv.c 
CC: mm_heap/mm_calloc.c 
CC: fs_initialize.c 
CC: clock/clock.c 
CC: board/rp2040_boardinitialize.c 
CC: drivers_initialize.c 

CC: board/rp2040_bringup.c 
CC: assert/lib_assert.c 


AS: common/gnu/fork.S 
CC: clock/clock_initialize.c 

CC: assert/lib_stackchk.c 


CC: loop/losetup.c 
CC: fs_heap.c 





CC: inode/fs_files.c 
CC: binfmt_copyactions.c 
CC: builtin/lib_builtin_getname.c 
AS: armv6-m/arm_exception.S 


CC: builtin_list.c 

CC: builtin/lib_builtin_isavail.c 
AS: armv6-m/arm_saveusercontext.S 
CC: binfmt_dumpmodule.c 



CC: clock/clock_settime.c 


CC: board/rp2040_autoleds.c 
CC: src/rp2040_common_bringup.c 
CC: misc/dev_null.c 


CC: exec_builtin.c 
CC: builtin/lib_builtin_forindex.c 


CC: builtin.c 

CC: chip/rp2040_idle.c 
CC: src/rp2040_common_initialize.c 





CC: misc/dev_zero.c 
CC: inode/fs_foreachinode.c 
CC: clock/clock_gettime.c 
CC: ctype/lib_isalnum.c 
CC: mm_heap/mm_extend.c 

IN: boards/libboards.a -> staging/libboards.a 


CC: nsh_alias.c 
CC: chip/rp2040_irq.c 
CC: hello_main.c 
CC: mm_heap/mm_free.c 


CC: misc/ramdisk.c 


CC: chip/rp2040_uart.c 
CC: nsh_builtin.c 


CC: chip/rp2040_serial.c 
CC: ctype/lib_isalpha.c 
CC: board/dummy.c 

CC: clock/clock_systime_ticks.c 

CC: mm_heap/mm_mallinfo.c 






CC: mm_heap/mm_malloc.c 
CC: src/rp2040_reset.c 

CC: mm_heap/mm_foreach.c 


CC: chip/rp2040_start.c 
CC: nsh_command.c 


CC: chip/rp2040_timerisr.c 
CC: ctype/lib_isascii.c 

CC: nsh_console.c 

CC: ctype/lib_isblank.c 
CC: dd_main.c 
CC: mm_heap/mm_memalign.c 

CC: mm_heap/mm_realloc.c 

CC: ctype/lib_iscntrl.c 
CC: misc/mkrd.c 
CC: nsh_consolemain.c 

IN: binfmt/libbinfmt.a -> staging/libbinfmt.a 


CC: inode/fs_inode.c 
CC: clock/clock_systime_timespec.c 


CC: pipes/pipe.c 
CC: chip/rp2040_gpio.c 


CC: inode/fs_inodeaddref.c 
CC: chip/rp2040_pio.c 


CC: mm_heap/mm_zalloc.c 
CC: nsh_main.c 
CC: nsh_dbgcmds.c 

CC: ctype/lib_isdigit.c 

CC: mm_heap/mm_heapmember.c 


CC: mm_heap/mm_memdump.c 


CC: sh_main.c 
CC: nsh_envcmds.c 

CC: chip/rp2040_clock.c 


CC: inode/fs_inodebasename.c 
CC: pipes/fifo.c 

CC: ctype/lib_isgraph.c 




CC: ctype/lib_islower.c 
CC: clock/clock_sched_ticks.c 
CC: chip/rp2040_xosc.c 


IN: arch/arm/src/board/libboard.a -> staging/libboard.a 
CC: chip/rp2040_pll.c 


CC: clock/clock_perf.c 
CC: ctype/lib_isprint.c 


CC: nsh_fscmds.c 


CC: chip/rp2040_cpuindex.c 
CC: pipes/pipe_common.c 



CC: inode/fs_inodefind.c 
CC: nsh_fsutils.c 
CC: serial/serial.c 
CC: readline.c 

CC: inode/fs_inodefree.c 
CC: ctype/lib_ispunct.c 


CC: readline_common.c 

CC: ctype/lib_isspace.c 

CC: readline_fd.c 
CC: umm_heap/umm_globals.c 

CC: nsh_init.c 
CC: barrier.c 



CC: clock/clock_realtime2absticks.c 
CC: cancel.c 


CC: nsh_mmcmds.c 
CC: chip/rp2040_dmac.c 


CC: readline_stream.c 
CC: cond.c 




CC: ctype/lib_isupper.c 
CC: nsh_mntcmds.c 
CC: umm_heap/umm_initialize.c 
CC: chip/rp2040_usbdev.c 

CC: clock/clock_getres.c 


CC: dev_null.c 
CC: common/arm_allocateheap.c 

CC: inode/fs_inodegetpath.c 

CC: ctype/lib_isxdigit.c 

CC: inode/fs_inoderelease.c 



CC: common/arm_createstack.c 
CC: nsh_parse.c 
CC: serial/serial_io.c 

CC: getprime_main.c 
CC: inode/fs_inoderemove.c 

CC: getopt.c 


CC: clock/clock_notifier.c 

CC: umm_heap/umm_addregion.c 



CC: clock/clock_delay.c 
CC: ctype/lib_tolower.c 
CC: common/arm_exit.c 


CC: umm_heap/umm_malloc_size.c 
CC: inode/fs_inodereserve.c 



CC: serial/serial_dma.c 
CC: libc_memmem.c 
CC: mqueue.c 

CC: ctype/lib_toupper.c 
CC: common/arm_getintstack.c 


CC: nsh_printf.c 
CC: mutex.c 

CC: ctype/lib_ctype.c 



CC: nsh_proccmds.c 
CC: environ/env_getenvironptr.c 


CC: dirent/lib_readdirr.c 
CC: environ/env_dup.c 

CC: umm_heap/umm_brkaddr.c 

CC: ostest_main.c 

CC: inode/fs_inodesearch.c 
CC: environ/env_release.c 


CC: vfs/fs_chstat.c 


CC: vfs/fs_close.c 
CC: dirent/lib_telldir.c 
CC: syslog/syslog_early.c 


CC: pthread_exit.c 

CC: dirent/lib_alphasort.c 



CC: common/arm_initialize.c 
CC: pthread_rwlock.c 
CC: dirent/lib_scandir.c 

CC: syslog/vsyslog.c 
CC: common/arm_lowputs.c 




CC: umm_heap/umm_calloc.c 
CC: common/arm_nputs.c 
CC: syslog/syslog_channel.c 
CC: vfs/fs_dup.c 


CC: common/arm_releasestack.c 


CC: common/arm_registerdump.c 
CC: vfs/fs_dup2.c 
CC: environ/env_findvar.c 

CC: dirent/lib_ftw.c 

CC: pthread_rwlock_cancel.c 



CC: dirent/lib_nftw.c 
CC: environ/env_removevar.c 
CC: nsh_prompt.c 

CC: syslog/syslog_write.c 


CC: vfs/fs_dup3.c 

CC: umm_heap/umm_extend.c 

CC: nsh_script.c 

CC: restart.c 

CC: dirent/lib_opendir.c 
CC: vfs/fs_fcntl.c 


CC: syslog/syslog_flush.c 
CC: vfs/fs_epoll.c 




CC: robust.c 
CC: environ/env_clearenv.c 
CC: umm_heap/umm_free.c 
CC: dirent/lib_fdopendir.c 

CC: nsh_session.c 


CC: syslog/syslog_initialize.c 
CC: common/arm_stackframe.c 

CC: common/arm_modifyreg.c 

CC: usbdev/cdcacm.c 

CC: environ/env_getenv.c 



CC: umm_heap/umm_mallinfo.c 
CC: common/arm_usestack.c 
CC: environ/env_putenv.c 


CC: umm_heap/umm_malloc.c 
CC: roundrobin.c 



CC: vfs/fs_fchstat.c 

CC: umm_heap/umm_memalign.c 

CC: dirent/lib_closedir.c 
CC: nsh_syscmds.c 

CC: common/arm_fork.c 



CC: schedlock.c 
CC: environ/env_setenv.c 
CC: vfs/fs_fstat.c 
CC: nsh_system.c 


CC: environ/env_unsetenv.c 
CC: umm_heap/umm_realloc.c 


CC: umm_heap/umm_zalloc.c 
CC: sem.c 


CC: vfs/fs_fstatfs.c 
CC: dirent/lib_readdir.c 



CC: vfs/fs_ioctl.c 
CC: dirent/lib_rewinddir.c 
CC: environ/env_foreach.c 

CC: usbdev/cdcacm_desc.c 

CC: vfs/fs_lseek.c 

CC: nsh_test.c 

CC: dirent/lib_seekdir.c 

CC: group/group_create.c 

CC: usbdev/composite.c 


CC: umm_heap/umm_heapmember.c 

CC: usbdev/usbdev_desc.c 
CC: nsh_timcmds.c 


CC: usbdev/usbdev_req.c 
CC: umm_heap/umm_memdump.c 

CC: vfs/fs_mkdir.c 



CC: common/arm_poweroff.c 
CC: vfs/fs_open.c 
CC: nsh_usbconsole.c 


CC: nsh_wait.c 

CC: usbdev/usbdev_trace.c 
CC: dirent/lib_dirfd.c 

CC: semtimed.c 

CC: vfs/fs_poll.c 



CC: usbdev/usbdev_trprintf.c 
CC: dirent/lib_versionsort.c 

CC: group/group_join.c 
CC: vfs/fs_pread.c 


CC: common/arm_idle.c 
CC: mempool/mempool.c 


CC: setvbuf.c 
CC: mempool/mempool_multiple.c 


CC: armv6-m/arm_cpuinfo.c 
CC: group/group_leave.c 

CC: dlfcn/lib_dlfind_object.c 

CC: vfs/fs_pwrite.c 


CC: armv6-m/arm_doirq.c 

CC: mempool/mempool_procfs.c 
CC: group/group_setupidlefiles.c 

CC: sighand.c 

CC: group/group_setuptaskfiles.c 





CC: sighelper.c 
CC: armv6-m/arm_hardfault.c 
CC: errno/lib_errno.c 
CC: kasan/hook.c 
CC: group/group_foreachchild.c 

CC: signest.c 



CC: vfs/fs_read.c 
CC: group/group_killchildren.c 

CC: sigprocmask.c 


CC: map/mm_map.c 
CC: group/group_signal.c 

CC: vfs/fs_rename.c 

CC: vfs/fs_rmdir.c 


CC: armv6-m/arm_initialstate.c 

CC: vfs/fs_select.c 

CC: fixedmath/lib_b16sin.c 
CC: fixedmath/lib_b16cos.c 


CC: fixedmath/lib_b16atan2.c 
CC: spinlock.c 


CC: vfs/fs_sendfile.c 
CC: fixedmath/lib_ubsqrt.c 



CC: timedmqueue.c 
CC: grp/lib_getgrgid.c 
CC: group/group_waiter.c 



CC: init/nx_start.c 
CC: timedmutex.c 
CC: armv6-m/arm_svcall.c 




CC: init/nx_bringup.c 
CC: vfs/fs_stat.c 

CC: armv6-m/arm_systemreset.c 
CC: vfs/fs_statfs.c 
CC: timedwait.c 

CC: vfork.c 
CC: grp/lib_getgrgidr.c 

CC: instrument/instrument.c 


CC: vfs/fs_uio.c 
CC: irq/irq_initialize.c 


CC: vfs/fs_unlink.c 
CC: armv6-m/arm_tcbinfo.c 

CC: grp/lib_getgrnam.c 


CC: vfs/fs_write.c 
CC: armv6-m/arm_trigger_irq.c 




CC: armv6-m/arm_schedulesigaction.c 
CC: irq/irq_attach.c 

CC: vfs/fs_dir.c 
CC: grp/lib_getgrnamr.c 
CC: irq/irq_dispatch.c 

CC: grp/lib_initgroups.c 

CC: grp/lib_getgrbuf.c 


CC: grp/lib_getgrbufr.c 
CC: waitpid.c 

CC: vfs/fs_fsync.c 



CC: irq/irq_unexpectedisr.c 

CC: armv6-m/arm_sigdeliver.c 
CC: wdog.c 



CC: irq/irq_attach_thread.c 

CC: vfs/fs_syncfs.c 
CC: inttypes/lib_imaxabs.c 
CC: inttypes/lib_imaxdiv.c 

CC: vfs/fs_truncate.c 
CC: irq/irq_attach_wqueue.c 



CC: inttypes/lib_strtoimax.c 
CC: misc/assert.c 
CC: armv6-m/arm_vectors.c 

CC: inttypes/lib_strtoumax.c 


IN: drivers/libdrivers.a -> staging/libdrivers.a 


CC: vfs/fs_link.c 

CC: misc/panic_notifier.c 
CC: armv6-m/arm_ramvec_initialize.c 


CC: armv6-m/arm_ramvec_attach.c 

CC: vfs/fs_symlink.c 
CC: vfs/fs_readlink.c 
CC: driver/fs_registerdriver.c 


CC: driver/fs_unregisterdriver.c 
IN: mm/libmm.a -> staging/libmm.a 


CC: driver/fs_registerpipedriver.c 
CC: libgen/lib_basename.c 


CC: libgen/lib_dirname.c 
CC: machine/arch_atomic.c 

CC: machine/arm/aeabi_memclr.c 




CC: machine/arm/aeabi_memclr4.c 

CC: driver/fs_unregisterpipedriver.c 
CC: misc/reboot_notifier.c 
CC: mqueue/mq_initialize.c 
CC: driver/fs_registerblockdriver.c 


CC: mqueue/mq_waitirq.c 

CC: driver/fs_unregisterblockdriver.c 
CC: machine/arm/aeabi_memclr8.c 



CC: machine/arm/aeabi_memcpy.c 
CC: driver/fs_findblockdriver.c 
CC: mqueue/mq_recover.c 



CC: driver/fs_openblockdriver.c 



CC: machine/arm/aeabi_memcpy4.c 
CC: mqueue/mq_send.c 
CC: machine/arm/aeabi_memcpy8.c 
CC: mqueue/mq_sndinternal.c 

CC: mqueue/mq_receive.c 



IN: arch/arm/src/libarch.a -> staging/libarch.a 
CC: mqueue/mq_rcvinternal.c 
CC: machine/arm/aeabi_memmove.c 
CC: mqueue/mq_getattr.c 

CC: mqueue/mq_msgfree.c 

CC: machine/arm/aeabi_memmove4.c 



CC: driver/fs_closeblockdriver.c 
CC: machine/arm/aeabi_memmove8.c 
CC: driver/fs_blockpartition.c 


CC: mqueue/mq_msgqalloc.c 
CC: driver/fs_findmtddriver.c 



CC: mqueue/mq_msgqfree.c 

CC: machine/arm/aeabi_memset.c 
CC: machine/arm/aeabi_memset4.c 
CC: machine/arm/aeabi_memset8.c 

CC: driver/fs_closemtddriver.c 



CC: mqueue/mq_setattr.c 

CC: mqueue/mq_notify.c 
CC: machine/arm/arch_atexit.c 

CC: driver/fs_blockmerge.c 
CC: mqueue/msgctl.c 


CC: misc/lib_bitmap.c 
CC: mqueue/msgget.c 



CC: misc/lib_circbuf.c 
CC: driver/fs_finddriver.c 




CC: mmap/fs_mmap.c 
CC: misc/lib_creat.c 
CC: mqueue/msginternal.c 
CC: mqueue/msgrcv.c 

CC: mqueue/msgsnd.c 


CC: pthread/pthread_create.c 
CC: mmap/fs_munmap.c 


CC: mmap/fs_mmisc.c 
CC: misc/lib_mknod.c 

CC: mmap/fs_msync.c 

CC: misc/lib_umask.c 



CC: mmap/fs_anonmap.c 
CC: misc/lib_utsname.c 
CC: misc/lib_getrandom.c 

CC: mqueue/mq_open.c 
CC: misc/lib_xorshift128.c 


CC: misc/lib_tea_encrypt.c 


CC: mqueue/mq_close.c 
CC: mqueue/mq_unlink.c 
CC: misc/lib_tea_decrypt.c 


CC: misc/lib_cxx_initialize.c 
CC: misc/lib_impure.c 

CC: mount/fs_mount.c 


IN: /tmp/nuttx/nuttx-apps.git/libapps.a -> staging/libapps.a 
CC: mount/fs_umount2.c 


CC: mount/fs_foreachmountpoint.c 
CC: mount/fs_procfs_mount.c 


CC: pthread/pthread_exit.c 

CC: misc/lib_memfd.c 



CC: misc/lib_mutex.c 
CC: mount/fs_gettype.c 
CC: misc/lib_fchmodat.c 

CC: pthread/pthread_join.c 


CC: pthread/pthread_detach.c 
CC: pthread/pthread_getschedparam.c 
CC: misc/lib_fstatat.c 


CC: misc/lib_getfullpath.c 

CC: pthread/pthread_setschedparam.c 
CC: pthread/pthread_sigmask.c 

CC: misc/lib_openat.c 



CC: partition/fs_partition.c 
CC: misc/lib_mkdirat.c 


CC: pthread/pthread_cancel.c 

CC: pthread/pthread_completejoin.c 
CC: procfs/fs_procfs.c 
CC: misc/lib_utimensat.c 

CC: pthread/pthread_findjoininfo.c 

CC: procfs/fs_procfscpuinfo.c 


CC: procfs/fs_procfscpuload.c 
CC: pthread/pthread_release.c 



CC: pthread/pthread_setschedprio.c 
CC: misc/lib_mallopt.c 
CC: procfs/fs_procfscritmon.c 



CC: sched/sched_getfiles.c 
CC: sched/sched_profil.c 
CC: sched/sched_addreadytorun.c 


CC: sched/sched_removereadytorun.c 
CC: misc/lib_idr.c 


CC: misc/lib_getnprocs.c 
CC: misc/lib_tempbuffer.c 


CC: misc/lib_umul32.c 

CC: procfs/fs_procfsfdt.c 

CC: procfs/fs_procfsiobinfo.c 
CC: procfs/fs_procfsmeminfo.c 

CC: procfs/fs_procfsproc.c 


CC: procfs/fs_procfstcbinfo.c 
CC: misc/lib_umul64.c 


CC: procfs/fs_procfsuptime.c 
CC: misc/lib_umul32x64.c 


CC: misc/lib_uadd32x64.c 
CC: procfs/fs_procfsutil.c 




CC: procfs/fs_procfsversion.c 
CC: misc/lib_uadd64.c 
CC: sched/sched_addblocked.c 
CC: misc/lib_usub64x32.c 

CC: sched/sched_removeblocked.c 



CC: misc/lib_usub64.c 
CC: sched/sched_gettcb.c 
CC: sched/sched_verifytcb.c 


CC: sched/sched_releasetcb.c 


CC: misc/lib_dumpbuffer.c 
CC: misc/lib_dumpvbuffer.c 
CC: sched/sched_setparam.c 


CC: sched/sched_setpriority.c 

CC: misc/lib_fnmatch.c 

CC: misc/lib_debug.c 

CC: sched/sched_getparam.c 
CC: sched/sched_setscheduler.c 


CC: sched/sched_getscheduler.c 
CC: misc/lib_crc64.c 

CC: sched/sched_yield.c 

CC: misc/lib_crc32.c 




CC: misc/lib_crc16.c 
CC: sched/sched_rrgetinterval.c 

CC: sched/sched_foreach.c 
CC: misc/lib_crc16ccitt.c 
CC: sched/sched_lock.c 


CC: misc/lib_crc8.c 
CC: sched/sched_unlock.c 


CC: misc/lib_crc8ccitt.c 
CC: sched/sched_lockcount.c 



CC: sched/sched_idletask.c 
CC: sched/sched_self.c 

CC: misc/lib_crc8table.c 
CC: misc/lib_crc8rohc.c 


CC: misc/lib_crc8h1d.c 
CC: sched/sched_get_stackinfo.c 


CC: misc/lib_crc8h2f.c 
CC: sched/sched_get_tls.c 




CC: sched/sched_sysinfo.c 
CC: misc/lib_crc16h1021.c 
CC: misc/lib_crc16h8005.c 
CC: sched/sched_get_stateinfo.c 

CC: sched/sched_getcpu.c 

CC: sched/sched_switchcontext.c 

CC: misc/lib_crc32h04c11db7.c 

CC: misc/lib_crc32hf4acfb13.c 



CC: sched/sched_sleep.c 
CC: sched/sched_reprioritizertr.c 
CC: misc/lib_crc64emac.c 

CC: sched/sched_mergepending.c 


CC: misc/lib_backtrace.c 

CC: sched/sched_waitpid.c 
CC: sched/sched_roundrobin.c 





CC: misc/lib_ftok.c 
CC: sched/sched_processtick.c 
CC: semaphore/sem_destroy.c 
CC: semaphore/sem_wait.c 
CC: misc/lib_err.c 


CC: semaphore/sem_trywait.c 
CC: semaphore/sem_tickwait.c 

CC: misc/lib_instrument.c 


CC: semaphore/sem_timedwait.c 
CC: misc/lib_glob.c 



CC: semaphore/sem_clockwait.c 

CC: semaphore/sem_timeout.c 
CC: misc/lib_crc16ibm.c 
CC: semaphore/sem_post.c 


CC: semaphore/sem_recover.c 
CC: misc/lib_crc16xmodem.c 

CC: net/lib_addrconfig.c 


CC: semaphore/sem_reset.c 
CC: net/lib_base64.c 



CC: net/lib_htons.c 
CC: semaphore/sem_waitirq.c 
CC: net/lib_htonl.c 


CC: net/lib_htonq.c 

CC: net/lib_inetaddr.c 


CC: net/lib_inetaton.c 
CC: semaphore/sem_rw.c 
CC: signal/sig_nanosleep.c 


CC: signal/sig_sleep.c 
CC: net/lib_inetntoa.c 



CC: signal/sig_usleep.c 
CC: net/lib_inetntop.c 
CC: signal/sig_clockwait.c 

CC: signal/sig_kill.c 

CC: net/lib_inetpton.c 

CC: signal/sig_tgkill.c 




CC: signal/sig_dispatch.c 
CC: net/lib_inetnetwork.c 

CC: signal/sig_lowest.c 
CC: net/lib_etherntoa.c 
CC: net/lib_etheraton.c 


CC: signal/sig_notification.c 
CC: obstack/lib_obstack_init.c 


CC: signal/sig_pause.c 


CC: obstack/lib_obstack_alloc.c 
CC: signal/sig_ppoll.c 

CC: obstack/lib_obstack_copy.c 

CC: obstack/lib_obstack_free.c 


CC: obstack/lib_obstack_make_room.c 
IN: fs/libfs.a -> staging/libfs.a 
CC: signal/sig_procmask.c 


CC: signal/sig_pselect.c 
CC: obstack/lib_obstack_blank.c 


CC: obstack/lib_obstack_grow.c 

CC: signal/sig_queue.c 
CC: obstack/lib_obstack_finish.c 


CC: signal/sig_suspend.c 
CC: signal/sig_timedwait.c 

CC: signal/sig_waitinfo.c 



CC: obstack/lib_obstack_object_size.c 
CC: signal/sig_cleanup.c 

CC: signal/sig_initialize.c 
CC: obstack/lib_obstack_room.c 


CC: obstack/lib_obstack_printf.c 



CC: signal/sig_pending.c 
CC: signal/sig_releasependingsignal.c 
CC: signal/sig_removependingsignal.c 
CC: obstack/lib_obstack_vprintf.c 



CC: signal/sig_unmaskpendingsignal.c 
CC: signal/sig_action.c 

CC: obstack/lib_obstack_malloc.c 
CC: pthread/pthread_attr_init.c 


CC: signal/sig_allocpendingsigaction.c 
CC: pthread/pthread_attr_destroy.c 

CC: pthread/pthread_attr_setschedpolicy.c 


CC: signal/sig_deliver.c 
CC: pthread/pthread_attr_getschedpolicy.c 

CC: signal/sig_findaction.c 

CC: pthread/pthread_attr_setinheritsched.c 

CC: pthread/pthread_attr_getinheritsched.c 


CC: pthread/pthread_attr_setdetachstate.c 
CC: pthread/pthread_attr_getdetachstate.c 


CC: pthread/pthread_attr_setstackaddr.c 

CC: signal/sig_releasependingsigaction.c 

CC: task/task_argvstr.c 
CC: pthread/pthread_attr_getstackaddr.c 

CC: pthread/pthread_attr_setstacksize.c 


CC: pthread/pthread_attr_getstacksize.c 
CC: task/task_create.c 




CC: task/task_init.c 
CC: pthread/pthread_attr_setstack.c 
CC: task/task_setup.c 

CC: task/task_activate.c 

CC: task/task_start.c 
CC: pthread/pthread_attr_getstack.c 


CC: task/task_delete.c 

CC: pthread/pthread_attr_setschedparam.c 
CC: pthread/pthread_attr_getschedparam.c 


CC: task/task_exit.c 
CC: pthread/pthread_attr_setscope.c 



CC: task/task_exithook.c 


CC: task/task_getgroup.c 
CC: pthread/pthread_attr_getscope.c 
CC: task/task_getpid.c 
CC: pthread/pthread_attr_setguardsize.c 

CC: task/task_prctl.c 

CC: task/task_recover.c 

CC: task/task_restart.c 


CC: task/task_spawnparms.c 
CC: task/task_cancelpt.c 


CC: pthread/pthread_attr_getguardsize.c 


CC: task/task_terminate.c 
CC: task/task_gettid.c 
CC: pthread/pthread_barrierattr_init.c 


CC: task/exit.c 
CC: pthread/pthread_barrierattr_destroy.c 



CC: task/task_join.c 
CC: pthread/pthread_barrierattr_getpshared.c 

CC: task/task_fork.c 


CC: pthread/pthread_barrierattr_setpshared.c 
CC: task/task_spawn.c 
CC: pthread/pthread_barrierinit.c 

CC: tls/task_initinfo.c 


CC: pthread/pthread_barrierdestroy.c 
CC: tls/task_uninitinfo.c 



CC: pthread/pthread_barrierwait.c 

CC: pthread/pthread_condattr_init.c 
CC: tls/tls_initinfo.c 
CC: pthread/pthread_condattr_destroy.c 

CC: tls/tls_dupinfo.c 


CC: pthread/pthread_condattr_getpshared.c 
CC: wdog/wd_initialize.c 


CC: wdog/wd_start.c 
CC: pthread/pthread_condattr_setpshared.c 

CC: pthread/pthread_condattr_setclock.c 



CC: wdog/wd_cancel.c 
CC: wdog/wd_gettime.c 
CC: pthread/pthread_condattr_getclock.c 

CC: pthread/pthread_condinit.c 



CC: pthread/pthread_conddestroy.c 
CC: pthread/pthread_condtimedwait.c 
CC: pthread/pthread_equal.c 



CC: pthread/pthread_condbroadcast.c 
CC: pthread/pthread_condclockwait.c 

CC: pthread/pthread_condsignal.c 

CC: pthread/pthread_condwait.c 


CC: pthread/pthread_create.c 
CC: pthread/pthread_exit.c 
CC: pthread/pthread_setname_np.c 




CC: pthread/pthread_getname_np.c 
CC: pthread/pthread_get_stackaddr_np.c 
CC: pthread/pthread_get_stacksize_np.c 
CC: pthread/pthread_mutexattr_init.c 


CC: pthread/pthread_mutexattr_destroy.c 

CC: pthread/pthread_mutexattr_getpshared.c 
CC: pthread/pthread_mutexattr_setpshared.c 

CC: pthread/pthread_mutexattr_setprotocol.c 


CC: pthread/pthread_mutexattr_getprotocol.c 
CC: pthread/pthread_mutexattr_settype.c 


CC: pthread/pthread_mutexattr_gettype.c 
CC: pthread/pthread_mutexattr_setrobust.c 



CC: pthread/pthread_mutexattr_getrobust.c 

CC: pthread/pthread_mutexattr_setprioceiling.c 
CC: pthread/pthread_mutexattr_getprioceiling.c 
CC: pthread/pthread_mutex_destroy.c 




CC: pthread/pthread_mutex_init.c 
CC: pthread/pthread_mutex_trylock.c 
CC: pthread/pthread_mutex_timedlock.c 


CC: pthread/pthread_mutex.c 

CC: pthread/pthread_mutex_unlock.c 
CC: pthread/pthread_mutex_lock.c 



CC: pthread/pthread_mutex_setprioceiling.c 
CC: pthread/pthread_mutex_getprioceiling.c 
CC: pthread/pthread_once.c 


CC: pthread/pthread_yield.c 

CC: pthread/pthread_atfork.c 
CC: pthread/pthread_rwlockattr_init.c 

IN: sched/libsched.a -> staging/libsched.a 


CC: pthread/pthread_rwlockattr_destroy.c 
CC: pthread/pthread_rwlockattr_getpshared.c 
CC: pthread/pthread_rwlockattr_setpshared.c 

CC: pthread/pthread_rwlock.c 

CC: pthread/pthread_rwlock_rdlock.c 


CC: pthread/pthread_rwlock_wrlock.c 
CC: pthread/pthread_setcancelstate.c 



CC: pthread/pthread_setcanceltype.c 

CC: pthread/pthread_testcancel.c 
CC: pthread/pthread_getcpuclockid.c 
CC: pthread/pthread_self.c 

CC: pthread/pthread_gettid_np.c 




CC: pthread/pthread_concurrency.c 

CC: pthread/pthread_kill.c 
CC: pthread/pthread_mutex_consistent.c 

CC: pthread/pthread_mutex_inconsistent.c 
CC: pwd/lib_getpwnam.c 


CC: pwd/lib_getpwnamr.c 
CC: pwd/lib_getpwuid.c 

CC: pwd/lib_getpwuidr.c 
CC: pwd/lib_getpwent.c 


CC: pwd/lib_pwd_globals.c 

CC: pwd/lib_getspnam.c 
CC: pwd/lib_getpwbuf.c 


CC: pwd/lib_getpwbufr.c 





CC: queue/queue.c 
CC: sched/sched_getprioritymax.c 
CC: sched/sched_getprioritymin.c 
CC: sched/task_cancelpt.c 
CC: sched/task_setcancelstate.c 
CC: sched/task_setcanceltype.c 

CC: sched/task_testcancel.c 



CC: sched/task_gettid.c 




CC: sched/task_getpid.c 
CC: sched/clock_getcpuclockid.c 
CC: sched/task_startup.c 

CC: search/hcreate_r.c 
CC: search/hcreate.c 


CC: search/hash_func.c 

CC: semaphore/sem_init.c 
CC: semaphore/sem_setprotocol.c 
CC: semaphore/sem_getprotocol.c 
CC: semaphore/sem_getvalue.c 


CC: semaphore/sem_destroy.c 

CC: semaphore/sem_wait.c 


CC: semaphore/sem_trywait.c 
CC: semaphore/sem_timedwait.c 

CC: semaphore/sem_clockwait.c 
CC: semaphore/sem_post.c 

CC: signal/sig_addset.c 


CC: signal/sig_delset.c 

CC: signal/sig_emptyset.c 


CC: signal/sig_fillset.c 
CC: signal/sig_nandset.c 
CC: signal/sig_andset.c 

CC: signal/sig_orset.c 

CC: signal/sig_xorset.c 




CC: signal/sig_isemptyset.c 
CC: signal/sig_killpg.c 

CC: signal/sig_altstack.c 
CC: signal/sig_hold.c 
CC: signal/sig_ismember.c 




CC: signal/sig_pause.c 


CC: signal/sig_psignal.c 
CC: signal/sig_raise.c 
CC: signal/sig_relse.c 
CC: signal/sig_wait.c 
CC: signal/sig_ignore.c 

CC: signal/sig_interrupt.c 


CC: signal/sig_set.c 
CC: signal/sig_signal.c 


CC: spawn/lib_psfa_addaction.c 

CC: spawn/lib_psfa_addclose.c 

CC: spawn/lib_psfa_adddup2.c 

CC: spawn/lib_psfa_addopen.c 
CC: spawn/lib_psfa_destroy.c 







CC: spawn/lib_psfa_init.c 

CC: spawn/lib_psa_getflags.c 
CC: spawn/lib_psa_getschedparam.c 



CC: spawn/lib_psa_getschedpolicy.c 

CC: spawn/lib_psa_init.c 
CC: spawn/lib_psa_setflags.c 
CC: spawn/lib_psa_setschedparam.c 
CC: spawn/lib_psa_setschedpolicy.c 
CC: spawn/lib_psa_getsigmask.c 
CC: spawn/lib_psa_setsigmask.c 
CC: spawn/lib_psa_getstacksize.c 
CC: spawn/lib_psa_setstacksize.c 

CC: spawn/lib_psa_destroy.c 

CC: spawn/lib_psa_getpriority.c 


CC: spawn/lib_psa_setpriority.c 
CC: spawn/lib_psa_getstackaddr.c 



CC: spawn/lib_psa_setstackaddr.c 
CC: stdio/lib_fileno.c 
CC: stdio/lib_printf.c 

CC: stdio/lib_sprintf.c 





CC: stdio/lib_asprintf.c 

CC: stdio/lib_snprintf.c 
CC: stdio/lib_vsprintf.c 


CC: stdio/lib_vasprintf.c 

CC: stdio/lib_vsnprintf.c 
CC: stdio/lib_dprintf.c 

CC: stdio/lib_vdprintf.c 



CC: stdio/lib_vprintf.c 
CC: stdio/lib_perror.c 
CC: stdio/lib_putchar.c 
CC: stdio/lib_getchar.c 
CC: stdio/lib_puts.c 



CC: stdio/lib_gets_s.c 
CC: stdio/lib_gets.c 

CC: stdio/lib_libdgets.c 

CC: stdio/lib_sscanf.c 
CC: stdio/lib_vsscanf.c 
CC: stdio/lib_remove.c 


CC: stdio/lib_tempnam.c 
CC: stdio/lib_tmpnam.c 

CC: stdio/lib_renameat.c 



CC: stdio/lib_putwchar.c 

CC: stdio/lib_fopen.c 

CC: stdio/lib_freopen.c 
CC: stdio/lib_fclose.c 
CC: stdio/lib_fread.c 





CC: stdio/lib_libfread_unlocked.c 
CC: stdio/lib_fseek.c 
CC: stdio/lib_fseeko.c 
CC: stdio/lib_ftell.c 

CC: stdio/lib_ftello.c 



CC: stdio/lib_fsetpos.c 
CC: stdio/lib_getdelim.c 
CC: stdio/lib_fgetpos.c 


CC: stdio/lib_getc.c 

CC: stdio/lib_fgetc.c 
CC: stdio/lib_fgets.c 
CC: stdio/lib_libfgets.c 



CC: stdio/lib_fwrite.c 

CC: stdio/lib_libfwrite.c 
CC: stdio/lib_fflush.c 
CC: stdio/lib_libflushall.c 

CC: stdio/lib_libfflush.c 

CC: stdio/lib_rdflush_unlocked.c 


CC: stdio/lib_wrflush_unlocked.c 
CC: stdio/lib_putc.c 



CC: stdio/lib_fputc.c 
CC: stdio/lib_fputs.c 


CC: stdio/lib_ungetc.c 

CC: stdio/lib_fprintf.c 
CC: stdio/lib_vfprintf.c 
CC: stdio/lib_feof.c 



CC: stdio/lib_ferror.c 
CC: stdio/lib_rewind.c 
CC: stdio/lib_clearerr.c 

CC: stdio/lib_scanf.c 

CC: stdio/lib_vscanf.c 



CC: stdio/lib_fscanf.c 

CC: stdio/lib_vfscanf.c 
CC: stdio/lib_tmpfile.c 

CC: stdio/lib_setbuf.c 
CC: stdio/lib_setvbuf.c 



CC: stdio/lib_libfilelock.c 
CC: stdio/lib_libgetstreams.c 

CC: stdio/lib_setbuffer.c 
CC: stdio/lib_fputwc.c 


CC: stdio/lib_putwc.c 
CC: stdio/lib_fputws.c 



CC: stdio/lib_fopencookie.c 

CC: stdio/lib_fmemopen.c 


CC: stdio/lib_open_memstream.c 
CC: stdio/lib_fgetwc.c 

CC: stdio/lib_getwc.c 
CC: stdio/lib_ungetwc.c 
CC: stdlib/lib_abs.c 


CC: stdlib/lib_abort.c 
CC: stdlib/lib_atof.c 

CC: stdlib/lib_atoi.c 


CC: stdlib/lib_getprogname.c 
CC: stdlib/lib_atol.c 

CC: stdlib/lib_atoll.c 



CC: stdlib/lib_div.c 

CC: stdlib/lib_ldiv.c 
CC: stdlib/lib_lldiv.c 
CC: stdlib/lib_exit.c 



CC: stdlib/lib_itoa.c 
CC: stdlib/lib_labs.c 



CC: stdlib/lib_llabs.c 
CC: stdlib/lib_realpath.c 
CC: stdlib/lib_bsearch.c 
CC: stdlib/lib_rand.c 



CC: stdlib/lib_rand48.c 
CC: stdlib/lib_qsort.c 
CC: stdlib/lib_srand.c 



CC: stdlib/lib_strtol.c 

CC: stdlib/lib_strtoll.c 
CC: stdlib/lib_strtoul.c 

CC: stdlib/lib_strtoull.c 
CC: stdlib/lib_checkbase.c 


CC: stdlib/lib_mktemp.c 


CC: stdlib/lib_mkstemp.c 
CC: stdlib/lib_mkdtemp.c 
CC: stdlib/lib_aligned_alloc.c 

CC: stdlib/lib_posix_memalign.c 



CC: stdlib/lib_valloc.c 
CC: stdlib/lib_mblen.c 
CC: stdlib/lib_mbtowc.c 

CC: stdlib/lib_wctomb.c 

CC: stdlib/lib_mbstowcs.c 


CC: stdlib/lib_wcstombs.c 
CC: stdlib/lib_atexit.c 




CC: stdlib/lib_reallocarray.c 

CC: stdlib/lib_arc4random.c 
CC: stdlib/lib_strtold.c 

CC: stream/lib_meminstream.c 
CC: stream/lib_memoutstream.c 
CC: stream/lib_memsistream.c 


CC: stream/lib_memsostream.c 



CC: stream/lib_lowoutstream.c 
CC: stream/lib_rawinstream.c 

CC: stream/lib_rawoutstream.c 

CC: stream/lib_rawsistream.c 
CC: stream/lib_rawsostream.c 
CC: stream/lib_zeroinstream.c 


CC: stream/lib_nullinstream.c 
CC: stream/lib_nulloutstream.c 


CC: stream/lib_mtdoutstream.c 
CC: stream/lib_libnoflush.c 

CC: stream/lib_libsnoflush.c 


CC: stream/lib_syslogstream.c 


CC: stream/lib_syslograwstream.c 
CC: stream/lib_bufferedoutstream.c 
CC: stream/lib_hexdumpstream.c 

CC: stream/lib_base64outstream.c 


CC: stream/lib_mtdsostream.c 
CC: stream/lib_fileinstream.c 

CC: stream/lib_fileoutstream.c 


CC: stream/lib_libbsprintf.c 

CC: stream/lib_libvscanf.c 
CC: stream/lib_libvsprintf.c 

CC: stream/lib_ultoa_invert.c 





CC: stream/lib_stdinstream.c 

CC: stream/lib_stdoutstream.c 
CC: stream/lib_stdsistream.c 

CC: stream/lib_stdsostream.c 
CC: stream/lib_blkoutstream.c 
CC: string/lib_ffs.c 
CC: string/lib_ffsl.c 


CC: string/lib_ffsll.c 

CC: string/lib_fls.c 

CC: string/lib_flsl.c 
CC: string/lib_flsll.c 

CC: string/lib_isbasedigit.c 



CC: string/lib_memmem.c 
CC: string/lib_popcount.c 
CC: string/lib_popcountl.c 





CC: string/lib_popcountll.c 
CC: string/lib_skipspace.c 

CC: string/lib_strcasecmp.c 

CC: string/lib_strcspn.c 

CC: string/lib_strdup.c 
CC: string/lib_strerror.c 
CC: string/lib_strncasecmp.c 
CC: string/lib_strncat.c 



CC: string/lib_strndup.c 
CC: string/lib_strcasestr.c 
CC: string/lib_strpbrk.c 


CC: string/lib_strspn.c 
CC: string/lib_strstr.c 

CC: string/lib_strtok.c 


CC: string/lib_strtokr.c 

CC: string/lib_strsep.c 

CC: string/lib_strerrorr.c 
CC: string/lib_explicit_bzero.c 


CC: string/lib_strsignal.c 
CC: string/lib_index.c 


CC: string/lib_rindex.c 
CC: string/lib_timingsafe_bcmp.c 





CC: string/lib_strverscmp.c 



CC: string/lib_mempcpy.c 
CC: string/lib_rawmemchr.c 

CC: string/lib_memmove.c 
CC: string/lib_strlcat.c 
CC: string/lib_strlcpy.c 


CC: string/lib_strnlen.c 


CC: string/lib_memcpy.c 

CC: string/lib_memccpy.c 


CC: string/lib_memcmp.c 

CC: string/lib_memrchr.c 
CC: string/lib_stpncpy.c 
CC: string/lib_strchr.c 
CC: string/lib_strcmp.c 
CC: string/lib_strlen.c 
CC: string/lib_strncpy.c 
CC: string/lib_memchr.c 


CC: string/lib_stpcpy.c 
CC: string/lib_strcat.c 


CC: string/lib_strchrnul.c 
CC: string/lib_strcpy.c 



CC: string/lib_strncmp.c 

CC: string/lib_strrchr.c 
CC: string/lib_memset.c 
CC: symtab/symtab_findbyname.c 

CC: symtab/symtab_findbyvalue.c 

CC: symtab/symtab_sortbyname.c 

CC: syslog/lib_syslog.c 




CC: syslog/lib_setlogmask.c 
CC: termios/lib_cfspeed.c 


CC: termios/lib_cfmakeraw.c 


CC: termios/lib_isatty.c 
CC: termios/lib_tcflush.c 
CC: termios/lib_tcdrain.c 
CC: termios/lib_tcflow.c 

CC: termios/lib_tcgetattr.c 

CC: termios/lib_tcsetattr.c 

CC: termios/lib_tcsendbreak.c 
CC: termios/lib_ttyname.c 


CC: termios/lib_ttynamer.c 
CC: time/lib_strftime.c 

CC: time/lib_calendar2utc.c 




CC: time/lib_daysbeforemonth.c 
CC: time/lib_gettimeofday.c 
CC: time/lib_isleapyear.c 
CC: time/lib_settimeofday.c 



CC: time/lib_time.c 



CC: time/lib_timespec_get.c 

CC: time/lib_nanosleep.c 
CC: time/lib_difftime.c 
CC: time/lib_dayofweek.c 
CC: time/lib_asctime.c 
CC: time/lib_asctimer.c 



CC: time/lib_ctime.c 

CC: time/lib_ctimer.c 

CC: time/lib_gethrtime.c 
CC: time/lib_timegm.c 
CC: time/lib_gmtime.c 

CC: time/lib_gmtimer.c 



CC: tls/task_getinfo.c 
CC: tls/tls_getinfo.c 
CC: uio/lib_preadv.c 






CC: uio/lib_pwritev.c 


CC: unistd/lib_access.c 
CC: unistd/lib_daemon.c 

CC: unistd/lib_swab.c 

CC: unistd/lib_pathconf.c 
CC: unistd/lib_sysconf.c 

CC: unistd/lib_getcwd.c 

CC: unistd/lib_getentropy.c 
CC: unistd/lib_getopt_common.c 


CC: unistd/lib_getopt.c 
CC: unistd/lib_getopt_long.c 
CC: unistd/lib_getopt_longonly.c 
CC: unistd/lib_getoptvars.c 

CC: unistd/lib_getoptargp.c 
CC: unistd/lib_getopterrp.c 

CC: unistd/lib_getoptindp.c 




CC: unistd/lib_getoptoptp.c 
CC: unistd/lib_times.c 
CC: unistd/lib_alarm.c 
CC: unistd/lib_fstatvfs.c 


CC: unistd/lib_statvfs.c 


CC: unistd/lib_sleep.c 
CC: unistd/lib_nice.c 

CC: unistd/lib_setreuid.c 
CC: unistd/lib_setregid.c 

CC: unistd/lib_getrusage.c 


CC: unistd/lib_utime.c 

CC: unistd/lib_utimes.c 

CC: unistd/lib_setrlimit.c 

CC: unistd/lib_getrlimit.c 
CC: unistd/lib_setpriority.c 

CC: unistd/lib_getpriority.c 



CC: unistd/lib_futimes.c 




CC: unistd/lib_lutimes.c 

CC: unistd/lib_gethostname.c 

CC: unistd/lib_sethostname.c 

CC: unistd/lib_fchownat.c 

CC: unistd/lib_linkat.c 

CC: unistd/lib_readlinkat.c 
CC: unistd/lib_symlinkat.c 



CC: unistd/lib_unlinkat.c 
CC: unistd/lib_usleep.c 
CC: unistd/lib_getpgrp.c 
CC: unistd/lib_getpgid.c 
CC: unistd/lib_lockf.c 

CC: unistd/lib_flock.c 

CC: unistd/lib_getpass.c 
CC: unistd/lib_chdir.c 
CC: unistd/lib_fchdir.c 


CC: unistd/lib_confstr.c 
CC: unistd/lib_ulimit.c 



CC: unistd/lib_setuid.c 
CC: unistd/lib_setgid.c 
CC: unistd/lib_getuid.c 



CC: unistd/lib_getgid.c 
CC: unistd/lib_seteuid.c 
CC: unistd/lib_setegid.c 




CC: unistd/lib_geteuid.c 
CC: unistd/lib_getegid.c 


CC: unistd/lib_restoredir.c 
CC: unistd/lib_truncate.c 


CC: unistd/lib_posix_fallocate.c 
CC: unistd/lib_fork.c 

CC: uuid/lib_uuid_compare.c 
CC: uuid/lib_uuid_create.c 
CC: uuid/lib_uuid_create_nil.c 



CC: uuid/lib_uuid_equal.c 


CC: uuid/lib_uuid_from_string.c 

CC: uuid/lib_uuid_hash.c 
CC: uuid/lib_uuid_is_nil.c 
CC: uuid/lib_uuid_stream.c 


CC: uuid/lib_uuid_to_string.c 
CC: wchar/lib_wcscmp.c 
CC: wchar/lib_wcslen.c 


CC: wchar/lib_wmemchr.c 



CC: wchar/lib_wmemcmp.c 
CC: wchar/lib_wmemcpy.c 




CC: wchar/lib_wmemmove.c 

CC: wchar/lib_wmemset.c 
CC: wchar/lib_btowc.c 
CC: wchar/lib_mbrtowc.c 
CC: wchar/lib_wctob.c 
CC: wchar/lib_wcslcpy.c 
CC: wchar/lib_wcsxfrm.c 



CC: wchar/lib_wcrtomb.c 

CC: wchar/lib_wcsftime.c 
CC: wchar/lib_wcscoll.c 
CC: wchar/lib_wcstol.c 



CC: wchar/lib_wcstoll.c 
CC: wchar/lib_wcstoul.c 
CC: wchar/lib_wcstoull.c 


CC: wchar/lib_wcstold.c 
CC: wchar/lib_wcstof.c 


CC: wchar/lib_wcstod.c 
CC: wchar/lib_swprintf.c 


CC: wchar/lib_mbsnrtowcs.c 

CC: wchar/lib_wcsnrtombs.c 
CC: wchar/lib_mbsinit.c 



CC: wchar/lib_mbrlen.c 

CC: wchar/lib_mbsrtowcs.c 

CC: wchar/lib_wcsrtombs.c 

CC: wchar/lib_wcscpy.c 
CC: wchar/lib_wcscat.c 
CC: wchar/lib_wcslcat.c 


CC: wchar/lib_wcsncat.c 


CC: wchar/lib_wcsrchr.c 

CC: wchar/lib_wcschr.c 
CC: wchar/lib_wcsncpy.c 



CC: wchar/lib_wcsncmp.c 

CC: wchar/lib_wcscspn.c 
CC: wchar/lib_wcspbrk.c 
CC: wchar/lib_wcsspn.c 

CC: wchar/lib_wcsstr.c 
CC: wchar/lib_wcstok.c 

CC: wchar/lib_wcswcs.c 


CC: wchar/lib_wcwidth.c 
CC: wchar/lib_wcswidth.c 

CC: wctype/lib_wctype.c 

CC: wctype/lib_iswctype.c 

CC: wctype/lib_towlower.c 

CC: wctype/lib_towupper.c 

CC: limits_check.c 
























IN: libs/libc/libc.a -> staging/libc.a 

AS: rp2040_boot_stage2.S 
CPP: /tmp/nuttx/nuttx.git/boards/arm/rp2040/raspberrypi-pico/scripts/raspberrypi-pico-flash.ld-> /tmp/nuttx/nuttx.git/boards/arm/rp2040/raspberrypi-pico/scripts/raspberrypi-pico-flash.ld.tmp 

LD: nuttx
Memory region Used Size Region Size %age Used
flash: 160 KB 2 MB 7.81%
sram: 8856 B 264 KB 3.28%
Generating: nuttx.uf2
Done.
3,52s real 31,31s user 11,28s sys
+ printf '\n\n ==> SWITCH BOOTSEL ON RPI-PICO THEN PRESS RETURN.\n\n'
==> SWITCH BOOTSEL ON RPI-PICO THEN PRESS RETURN.
+ read a
+ picotool load nuttx.uf2
Loading into Flash: [ ] 0%
Loading into Flash: [ ] 2%
Loading into Flash: [= ] 5%
Loading into Flash: [== ] 7%
Loading into Flash: [=== ] 10%
Loading into Flash: [=== ] 12%
Loading into Flash: [==== ] 15%
Loading into Flash: [===== ] 17%
Loading into Flash: [====== ] 20%
Loading into Flash: [====== ] 22%
Loading into Flash: [======= ] 25%
Loading into Flash: [======== ] 27%
Loading into Flash: [========= ] 30%
Loading into Flash: [========= ] 32%
Loading into Flash: [========== ] 35%
Loading into Flash: [=========== ] 37%
Loading into Flash: [============ ] 40%
Loading into Flash: [============ ] 42%
Loading into Flash: [============= ] 45%
Loading into Flash: [============== ] 47%
Loading into Flash: [=============== ] 50%
Loading into Flash: [=============== ] 52%
Loading into Flash: [================ ] 55%
Loading into Flash: [================= ] 57%
Loading into Flash: [================== ] 60%
Loading into Flash: [================== ] 62%
Loading into Flash: [=================== ] 65%
Loading into Flash: [==================== ] 68%
Loading into Flash: [===================== ] 70%
Loading into Flash: [===================== ] 73%
Loading into Flash: [====================== ] 75%
Loading into Flash: [======================= ] 78%
Loading into Flash: [======================== ] 80%
Loading into Flash: [======================== ] 83%
Loading into Flash: [========================= ] 85%
Loading into Flash: [========================== ] 88%
Loading into Flash: [=========================== ] 90%
Loading into Flash: [=========================== ] 93%
Loading into Flash: [============================ ] 95%
Loading into Flash: [============================= ] 98%
Loading into Flash: [==============================] 100%
+ picotool reboot
The device was rebooted into application mode.
+ sleep 5
+ cu -l /dev/cuaU0 -s 115200
Connected
NuttShell (NSH) NuttX-13.0.0
nsh> uname -a
NuttX 13.0.0 f5291a8df1 Jul 9 2026 00:03:12 arm raspberrypi-picnsh> help
help usage: help [-v] [<cmd>]
. cp exit mkrd rmdir
? dirname false mv kill uname
alias date fdinfo pidof pkill umount
unalias df free printf sleep unset
basename dmesg help ps usleep uptime
break echo hexdump pwd source watch
cat env ls reboot test xd
cd exec mkdir rm time wait
Builtin Apps:
dd getprime hello nsh ostest sh
nsh> free
total used free maxused maxfree nused nsh> ostest
stdio_test: write fd=1
stdio_test: Standard I/O Check: printf
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=4
user_main: Begin argument test
user_main: Started with argc=5
user_main: argv[0]="ostest"
user_main: argv[1]="Arg1"
user_main: argv[2]="Arg2"
user_main: argv[3]="Arg3"
user_main: argv[4]="Arg4"
End of test memory usage:
TER
======== ======== ========
arena 3f968 3f968
ordblks 1 1
mxordblk 3a990 3a990
uordblks 4fd8 4fd8
fordblks 3a990 3a990
user_main: getopt() test
getopt(): Simple test
nt
getopt(): Missing optional argument
getopt_long(): Simple test
getopt_long(): No short options
getopt_long(): Argument for --option=argument
getopt_long(): Invalid long option
getopt_long(): Mixed long and short options
getopt_long(): Invalid short option
getopt_long(): Missing optional arguments
getopt_long_only(): Mixed long and short options
getopt_long_only(): Single hyphen long options
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 1 1
mxordblk 3a990 3a990
uordblks 4fd8 4fd8
fordblks 3a990 3a990
user_main: libc tests
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 1 1
mxordblk 3a990 3a990
uordblks 4fd8 4fd8
fordblks 3a990 3a990
show_variable: Variable=Variable1 has value=GoodValue1
show_variable: Variable=Variable2 has value=GoodValue2
show_variable: Variable=Variable3 has value=GoodValue3
show_variable: Variable=Variable1 has no value
show_variable: Variable=Variable2 has value=GoodValue2
show_variable: Variable=Variable3 has value=GoodValue3
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 1 2
mxordblk 3a990 3a990
uordblks 4fd8 4fb8
fordblks 3a990 3a9b0
show_variable: Variable=Variable1 has no value
show_variable: Variable=Variable2 has no value
show_variable: Variable=Variable3 has no value
End of test memory usage:
======== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4fb8 4f40
fordblks 3a9b0 3aa28
t
setvbuf_test: Test NO buffering
setvbuf_test: Using NO buffering
setvbuf_test: Test default FULL buffering
setvbuf_test: Using default FULL buffering
setvbuf_test: Test FULL buffering, buffer size 64
setvbuf_test: Using FULL buffering, buffer size 64
setvbuf_test: Test FULL buffering, pre-allocated buffer
setvbuf_test: Using FULL buffering, pre-allocated buffer
setvbuf_test: Test LINE buffering, buffer size 64
setvbuf_test: Using LINE buffering, buffer size 64
setvbuf_test: Test FULL buffering, pre-allocated buffer
setvbuf_test: Using FULL buffering, pre-allocated buffer
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f40 4f40
fordblks 3aa28 3aa28
user_main: /dev/null test
dev_null: Read 0 bytes from /dev/null
dev_null: Wrote 1024 bytes to /dev/null
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f40 4f40
fordblks 3aa28 3aa28
user_main: task_restart test
Test task_restart()
restart_main: setenv(VarName, VarValue, TRUE)
restart_main: Started restart_main at PID=5
restart_main: Started with argc=4
restart_main: argv[0]="ostest"
restart_main: argv[1]="This is argument 1"
restart_main: argv[2]="Argument 2 here"
restart_main: argv[3]="Lastly, the 3rd argument"
restart_main: Variable=VarName has value=VarValue
restart_main: I am still here
restart_main: I am still here
restart_main: Started restart_main at PID=5
restart_main: Started with argc=4
restart_main: argv[0]="ostest"
restart_main: argv[1]="This is argument 1"
restart_main: argv[2]="Argument 2 here"
restart_main: argv[3]="Lastly, the 3rd argument"
restart_main: Variable=VarName has value=VarValue
restart_main: Started with argc=4
restart_main: argv[0]="ostest"
restart_main: argv[1]="This is argument 1"
restart_main: argv[2]="Argument 2 here"
restart_main: argv[3]="Lastly, the 3rd argument"
restart_main: Variable=VarName has value=VarValue
restart_main: Exiting
End of test memory usage:
======== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f40 4f78
fordblks 3aa28 3a9f0
user_main: waitpid test
Test waitpid()
waitpid_start_child: Started waitpid_main at PID=6
waitpid_start_child: Started waitpid_main at PID=7
waitpid_start_child: Started waitpid_main at PID=8
waitpid_test: Waiting for PID=6 with waitpid()
waitpid_main: PID 6 Started
waitpid_main: PID 7 Started
waitpid_main: PID 8 Started
waitpid_main: PID 6 exitting with result=14
waitpid_main: PID 7 exitting with result=14
waitpid_main: PID 8 exitting with result=14
waitpid_test: PID 6 waitpid succeeded with stat_loc=0e00
waitpid_last: Waiting for PID=8 with waitpid()
waitpid_last: PASS: PID 8 waitpid failed with ECHILD. That may be
e child status is disabled on this thread.
End of test memory usage:
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
user_main: mutex test
Initializing mutex
Starting thread 1
Starting thread 2
Thread1 Thread2
Loops 32 32
Errors 0 0
Testing moved mutex
Starting moved mutex thread 1
Starting moved mutex thread 2
Thread1 Thread2
Moved Loops 32 32
Moved Errors 0 0
End of test memory usage:
AFTER
======== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
in: timed mutex test
mutex_test: Initializing mutex
mutex_test: Starting thread
pthread: Started
pthread: Waiting for lock or timeout
mutex_test: Unlocking
pthread: Got the lock
pthread: Waiting for lock or timeout
pthread: Got the timeout. Terminating
mutex_test: PASSED
End of test memory usage:
VARIABLE BEFORE AFTER
====
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
user_main: cancel test
cancel_test: Test 1a: Normal Cancellation
cancel_test: Starting thread
start_thread: Initializing mutex
start_thread: Initializing cond
start_thread: Starting thread
start_thread: Yielding
sem_waiter: Taking mutex
sem_waiter: Starting wait for condition
cancel_test: Canceling thread
cancel_test: Joining
cancel_test: waiter exited with result=0xffffffff
cancel_test: PASS thread terminated with PTHREAD_CANCELED
cancel_test: Test 2: Asynchronous Cancellation
... Skipped
cancel_test: Test 3: Cancellation of detached thread
ad
restart_thread: Destroying cond
restart_thread: Destroying mutex
restart_thread: Re-starting thread
start_thread: Initializing mutex
start_thread: Initializing cond
thread
start_thread: Yielding
sem_waiter: Taking mutex
tion
cancel_test: Canceling thread
cancel_test: Joining
cancel_test: PASS pthread_join failed with status=ESRCH
cancel_test: Test 5: Non-cancelable threads
cancel_test: Re-starting thread (non-cancelable)
restart_thread: Destroying cond
restart_thread: Destroying mutex
restart_thread: Re-starting thread
start_thread: Initializing mutex
ead: Initializing cond
start_thread: Starting thread
start_thread: Yielding
sem_waiter: Taking mutex
sem_waiter: Starting wait for condition
n-cancelable
cancel_test: Canceling thread
cancel_test: Joining
sem_waiter: Releasing mutex
sem_waiter: Setting cancelable
cancel_test: waiter exited with result=0xffffffff
cancel_test: PASS thread terminated with PTHREAD_CANCELED
cancel_test: Test 6: Cancel message queue wait
cancel_test: Starting thread (cancelable)
Skipped
wait
cancel_test: Starting thread (cancelable)
Skipped
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
user_main: robust test
tex
robust_test: Starting thread
robust_waiter: Taking mutex
robust_waiter: Exiting with mutex
robust_test: Take the lock again
robust_test: Make the mutex consistent again.
robust_test: Take the lock again
ng
robust_test: waiter exited with result=0
robust_test: Test complete with nerrors=0
End of test memory usage:
VARIABLE BEFORE AFTER
==== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
user_main: semaphore test
sem_test: Initializing semaphore to 0
sem_test: Starting waiter thread 1
sem_test: Set thread 1 priority to 191
waiter_func: Thread 1 Started
waiter_func: Thread 1 initial semaphore value = 0
waiter_func: Thread 1 waiting on semaphore
sem_test: Starting waiter thread 2
sem_test: Set thread 2 priority to 128
waiter_func: Thread 2 Started
waiter_func: Thread 2 initial semaphore value = -1
waiter_func: Thread 2 waiting on semaphore
sem_test: Starting poster thread 3
sem_test: Set thread 3 priority to 64
poster_func: Thread 3 started
poster_func: Thread 3 semaphore value = -2
poster_func: Thread 3 posting semaphore
waiter_func: Thread 1 awakened
waiter_func: Thread 1 new semaphore value = -1
waiter_func: Thread 1 done
poster_func: Thread 3 new semaphore value = -1
poster_func: Thread 3 semaphore value = -1
poster_func: Thread 3 posting semaphore
waiter_func: Thread 2 awakened
waiter_func: Thread 2 new semaphore value = 0
waiter_func: Thread 2 done
poster_func: Thread 3 new semaphore value = 0
poster_func: Thread 3 done
End of test memory usage:
TER
====== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
user_main: timed semaphore test
semtimed_test: Initializing semaphore to 0
semtimed_test: Waiting for two second timeout
semtimed_test: PASS: first test returned timeout
BEFORE: (1612828876 sec, 810000000 nsec)
AFTER: (1612828878 sec, 810000000 nsec)
semtimed_test: Starting poster thread
semtimed_test: Set thread 1 priority to 191
semtimed_test: Starting poster thread 3
semtimed_test: Set thread 3 priority to 64
semtimed_test: Waiting for two second timeout
poster_func: Waiting for 1 second
poster_func: Posting
semtimed_test: PASS: sem_timedwait succeeded
BEFORE: (1612828878 sec, 810000000 nsec)
AFTER: (1612828879 sec, 820000000 nsec)
End of test memory usage:
E BEFORE AFTER
=== ======== ========
arena 3f968 3f968
ordblks 2 2
xordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
user_main: condition variable test
cond_test: Initializing cond
cond_test: Starting waiter
ority to 128
waiter_thread: Started
cond_test: Starting signaler
cond_test: Set thread 2 priority to 64
thread_signaler: Started
thread_signaler: Terminating
cond_test: signaler terminated, now cancel the waiter
cond_test: Waiter Signaler
cond_test: Loops 32 32
cond_test: Errors 0 0
ond_test:
cond_test: 0 times, waiter did not have to wait for data
cond_test: 0 times, data was already available when the signaler run
cond_test: 0 times, the waiter was in an unexpected state when tnaler ran
End of test memory usage:
FORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f78 4f78
fordblks 3a9f0 3a9f0
user_main: pthread_exit() test
pthread_exit_test: Started pthread_exit_main at PID=28
pthread_exit_main 28: Starting pthread_exit_thread
pthread_exit_main 28: Sleeping for 5 seconds
pthread_exit_thread 29: Sleeping for 10 second
pthread_exit_main 28: Calling pthread_exit()
pthread_exit_thread 29: Still running...
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 2 3
mxordblk 3a990 37fd0
uordblks 4f78 5858
fordblks 3a9f0 3a110
user_main: pthread_rwlock test
pthread_rwlock: Initializing rwlock
pthread_exit_thread 29: Exiting
sage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 3 2
mxordblk 37fd0 3a990
uordblks 5858 4f88
fordblks 3a110 3a9e0
user_main: pthread_rwlock_cancel test
pthread_rwlock_cancel: Starting test
End of test memory usage:
EFORE AFTER
= ======== ========
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f88 4f88
fordblks 3a9e0 3a9e0
user_main: timed wait test
thread_waiter: Initializing mutex
st: Initializing cond
: Starting waiter
timedwait_test: Set thread 2 priority to 177
thread_waiter: Taking mutex
: Starting 5 second wait for condition
timedwait_test: Joining
thread_waiter: pthread_cond_timedwait timed out
thread_waiter: Releasing mutex
thread_waiter: Exit with status 0x12345678
timedwait_test: waiter exited with result=0x12345678
End of test memory usage:
VARIABLE BEFORE AFTER
====
arena 3f968 3f968
ordblks 2 2
mxordblk 3a990 3a990
uordblks 4f88 4f88
fordblks 3a9e0 3a9e0
user_main: timed message queue test
timedmqueue_test: Starting sender
timedmqueue_test: Waiting for sender to complete
sender_thread: Starting
sender_thread: mq_timedsend succeeded on msg 0
sender_thread: mq_timedsend succeeded on msg 1
sender_thread: mq_timedsend succeeded on msg 2
sender_thread: mq_timedsend succeeded on msg 3
sender_thread: mq_timedsend succeeded on msg 4
sender_thread: mq_timedsend succeeded on msg 5
sender_thread: mq_timedsend succeeded on msg 6
sender_thread: mq_timedsend succeeded on msg 7
sender_thread: mq_timedsend succeeded on msg 8
sender_thread: mq_timedsend 9 timed out as expected
sender_thread: returning nerrors=0
timedmqueue_test: Starting receiver
timedmqueue_test: Waiting for receiver to complete
receiver_thread: Starting
receiver_thread: mq_timedreceive succeed on msg 0
receiver_thread: mq_timedreceive succeed on msg 1
receiver_thread: mq_timedreceive succeed on msg 2
receiver_thread: mq_timedreceive succeed on msg 3
receiver_thread: mq_timedreceive succeed on msg 4
receiver_thread: mq_timedreceive succeed on msg 5
receiver_thread: mq_timedreceive succeed on msg 6
receiver_thread: mq_timedreceive succeed on msg 7
receiver_thread: mq_timedreceive succeed on msg 8
receiver_thread: Receive 9 timed out as expected
receiver_thread: returning nerrors=0
timedmqueue_test: Test complete
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 2 3
mxordblk 3a990 38878
uordblks 4f88 4ff8
fordblks 3a9e0 3a970
user_main: sigprocmask test
sigprocmask_test: SUCCESS
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 3 3
mxordblk 38878 38878
uordblks 4ff8 4ff8
fordblks 3a970 3a970
e test
mqueue_test: Starting receiver
mqueue_test: Set receiver priority to 128
receiver_thread: Starting
mqueue_test: Starting sender
mqueue_test: Set sender thread priority to 64
mqueue_test: Waiting for sender to complete
sender_thread: Starting
receiver_thread: mq_receive succeeded on msg 0
sender_thread: mq_send succeeded on msg 0
receiver_thread: mq_receive succeeded on msg 1
sender_thread: mq_send succeeded on msg 1
receiver_thread: mq_receive succeeded on msg 2
sender_thread: mq_send succeeded on msg 2
receiver_thread: mq_receive succeeded on msg 3
sender_thread: mq_send succeeded on msg 3
receiver_thread: mq_receive succeeded on msg 4
sender_thread: mq_send succeeded on msg 4
receiver_thread: mq_receive succeeded on msg 5
sender_thread: mq_send succeeded on msg 5
receiver_thread: mq_receive succeeded on msg 6
sender_thread: mq_send succeeded on msg 6
receiver_thread: mq_receive succeeded on msg 7
sender_thread: mq_send succeeded on msg 7
receiver_thread: mq_receive succeeded on msg 8
sender_thread: mq_send succeeded on msg 8
receiver_thread: mq_receive succeeded on msg 9
sender_thread: mq_send succeeded on msg 9
sender_thread: returning nerrors=0
mqueue_test: Killing receiver
receiver_thread: mq_receive interrupted!
receiver_thread: returning nerrors=0
mqueue_test: Canceling receiver
mqueue_test: receiver has already terminated
End of test memory usage:
======== ======== ========
arena 3f968 3f968
ordblks 3 3
mxordblk 38878 38878
uordblks 4ff8 4ff8
fordblks 3a970 3a970
sighand_test: Starting waiter task
sighand_test: Started waiter_main pid=45
waiter_main: Waiter started
waiter_main: Unmasking signal 32
waiter_main: Registering signal handler
waiter_main: oact.sigaction=0 oact.sa_flags=0 oact.sa_mask=0000000000000000
waiter_main: Waiting on semaphore
sighand_test: Signaling pid=45 with signo=32 sigvalue=42
waiter_main: sem_wait() successfully interrupted by signal
waiter_main: done
sighand_test: done
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 3 2
mxordblk 38878 38878
uordblks 4ff8 5010
fordblks 3a970 3a958
user_main: nested signal handler test
signest_test: Starting signal waiter task at priority 101
waiter_main: Waiter started
waiter_main: Setting signal mask
waiter_main: Registering signal handler
waiter_main: Waiting on semaphore
signest_test: Started waiter_main pid=46
signest_test: Starting interfering task at priority 102
interfere_main: Waiting on semaphore
signest_test: Started interfere_main pid=47
signest_test: Simple case:
Total signalled 1240 Odd=620 Even=620
Total handled 1240 Odd=620 Even=620
Total nested 0 Odd=0 Even=0
signest_test: With task locking
Total signalled 2480 Odd=1240 Even=1240
Total handled 2480 Odd=1240 Even=1240
Total nested 0 Odd=0 Even=0
signest_test: With interfering thread
Total signalled 3720 Odd=1860 Even=1860
Total handled 3720 Odd=1860 Even=1860
Total nested 0 Odd=0 Even=0
signest_test: done
End of test memory usage:
ER
====== ======== ========
arena 3f968 3f968
ordblks 2 5
mxordblk 38878 36028
uordblks 5010 5070
fordblks 3a958 3a8f8
_main: spinlock test
Start Lock test:
Thread num: 1, Loop times: 10000000
Test type: spinlock
spinlock: Test Results:
spinlock: Final counter: 10000000
spinlock: Average throughput : 7352941 op/s
spinlock: Total execution time: 1360000000 ns
Test type: rspinlock
rspinlock: Test Results:
rspinlock: Final counter: 10000000
rspinlock: Average throughput : 7352941 op/s
rspinlock: Total execution time: 1360000000 ns
Test type: seqcount
seqcount: Test Results:
seqcount: Final counter: 10000000
seqcount: Average throughput : 5681818 op/s
seqcount: Total execution time: 1760000000 ns
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
dblks 5 5
mxordblk 36028 36028
uordblks 5070 5070
fordblks 3a8f8 3a8f8
user_main: wdog test
wdog_test start...
wdtest_once 0 ns
wdtest_once 0 ns
wdtest_once 0 ns
wdtest_once 0 ns
wdtest_once 1 ns
wdtest_once 1 ns
wdtest_once 1 ns
wdtest_once 1 ns
wdtest_once 10 ns
wdtest_once 10 ns
wdtest_once 10 ns
wdtest_once 10 ns
wdtest_once 100 ns
wdtest_once 100 ns
wdtest_once 100 ns
wdtest_once 100 ns
wdtest_once 1000 ns
wdtest_once 1000 ns
wdtest_once 1000 ns
wdtest_once 1000 ns
wdtest_once 10000 ns
wdtest_once 10000 ns
wdtest_once 10000 ns
wdtest_once 10000 ns
wdtest_once 100000 ns
wdtest_once 100000 ns
wdtest_once 100000 ns
wdtest_once 100000 ns
wdtest_once 1000000 ns
wdtest_once 1000000 ns
wdtest_once 1000000 ns
wdtest_once 1000000 ns
wd_start with maximum delay, cancel OK, rest 2305843009213693949
wdtest_recursive 1000000ns
wd_start with maximum delay, cancel OK, rest 2305843009213693949
wdtest_recursive 1000000ns
wd_start with maximum delay, cancel OK, rest 2305843009213693949
wdtest_recursive 1000000ns
wd_start with maximum delay, cancel OK, rest 2305843009213693949
wdtest_recursive 1000000ns
recursive wdog triggered 6 times, elapsed tick 12
wdtest_recursive 10000000ns
recursive wdog triggered 6 times, elapsed tick 12
wdtest_recursive 10000000ns
recursive wdog triggered 6 times, elapsed tick 12
wdtest_recursive 10000000ns
recursive wdog triggered 6 times, elapsed tick 12
wdtest_recursive 10000000ns
recursive wdog triggered 6 times, elapsed tick 12
recursive wdog triggered 6 times, elapsed tick 12
recursive wdog triggered 6 times, elapsed tick 12
recursive wdog triggered 6 times, elapsed tick 12
wdog_test end...
End of test memory usage:
BLE BEFORE AFTER
=
arena 3f968 3f968
ordblks 5 5
mxordblk 36028 36028
uordblks 5070 5070
fordblks 3a8f8 3a8f8
heduler test
rr_test: Set thread priority to 1
rr_test: Set thread policy to SCHED_RR
rr_test: Starting first get_primes_thread
First get_primes_thread: 59
rr_test: Starting second get_primes_thread
Second get_primes_thread: 60
rr_test: Waiting for threads to complete -- this should take awhile
s working, they should start and complete at
me time
get_primes_thread id=1 started, looking for primes < 30000, doing 10 run(s)
get_primes_thread id=2 started, looking for primes < 30000, doing 10 run(s)
get_primes_thread id=1 finished, found 3246 primes, last one was89
get_primes_thread id=2 finished, found 3246 primes, last one was9
rr_test: Done
End of test memory usage:
AFTER
======== ======== ========
======== ======== ========
arena 3f968 3f968
ordblks 5 5
mxordblk 36028 36028
uordblks 5070 5070
fordblks 3a8f8 3a8f8
user_main: barrier test
rier_test: Initializing barrier
barrier_test: Thread 0 created
barrier_test: Thread 1 created
barrier_test: Thread 2 created
barrier_test: Thread 3 created
barrier_test: Thread 4 created
barrier_test: Thread 5 created
barrier_test: Thread 6 created
barrier_test: Thread 7 created
barrier_func: Thread 0 started
barrier_func: Thread 1 started
barrier_func: Thread 2 started
barrier_func: Thread 3 started
barrier_func: Thread 4 started
barrier_func: Thread 5 started
barrier_func: Thread 6 started
barrier_func: Thread 7 started
barrier_func: Thread 0 calling pthread_barrier_wait()
barrier_func: Thread 1 calling pthread_barrier_wait()
barrier_func: Thread 2 calling pthread_barrier_wait()
barrier_func: Thread 3 calling pthread_barrier_wait()
barrier_func: Thread 4 calling pthread_barrier_wait()
barrier_func: Thread 5 calling pthread_barrier_wait()
barrier_func: Thread 6 calling pthread_barrier_wait()
barrier_func: Thread 7 calling pthread_barrier_wait()
barrier_func: Thread 7, back with status=PTHREAD_BARRIER_SERIAL_barrier_func: Thread 0, back with status=0 (I am not special)
barrier_func: Thread 1, back with status=0 (I am not special)
barrier_func: Thread 2, back with status=0 (I am not special)
barrier_func: Thread 3, back with status=0 (I am not special)
barrier_func: Thread 4, back with status=0 (I am not special)
barrier_func: Thread 5, back with status=0 (I am not special)
barrier_func: Thread 6, back with status=0 (I am not special)
barrier_func: Thread 7 done
barrier_func: Thread 0 done
barrier_func: Thread 1 done
barrier_func: Thread 2 done
barrier_func: Thread 3 done
barrier_func: Thread 4 done
barrier_func: Thread 5 done
barrier_func: Thread 6 done
barrier_test: Thread 0 completed with result=0
barrier_test: Thread 1 completed with result=0
barrier_test: Thread 2 completed with result=0
barrier_test: Thread 3 completed with result=0
barrier_test: Thread 4 completed with result=0
barrier_test: Thread 5 completed with result=0
barrier_test: Thread 6 completed with result=0
barrier_test: Thread 7 completed with result=0
End of test memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 5 5
mxordblk 36028 36028
uordblks 5070 5070
fordblks 3a8f8 3a8f8
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:
TER
======== ======== ========
arena 3f968 3f968
5
mxordblk 36028 36028
uordblks 5070 5070
fordblks 3a8f8 3a8f8
vfork_test: Child 77 ran successfully
Final memory usage:
VARIABLE BEFORE AFTER
======== ======== ========
arena 3f968 3f968
ordblks 1 5
mxordblk 3a990 36028
uordblks 4fd8 5070
fordblks 3a990 3a8f8
user_main: Exiting
ostest_main: Exiting with status 0
nsh> free
total used free maxused maxfree nused nfree name
260456 9832 250624 48128 231nsh> 
nsh> help
help usage: help [-v] [<cmd>]
. cp exit mkrd rmdir truncate
dirname false mv kill uname
pkill umount
unalias df free printf sleep unset
basename dmesg help ps usleep uptime
break echo hexdump pwd source watch
cat env ls reboot test xd
cd exec mkdir rm time wait
Builtin Apps:
dd getprime hello nsh ostest sh
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 12800 msec
nsh> ~
[EOT]
+ gmake clean distclean -j24 CROSSDEV=arm-none-eabi-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment