Nuttx系统在 imx6ul 开发板上的移植(一、环境准备和交叉编译)

Nuttx应该是一个不错的系统,有瓜可挖。小米的澎湃os底层内核使用的就是它。 翻出之前别人送我的imax6ul开发板,在那安安静静的吃灰,有了想动一动的冲动。于是想到给自己定一个小目标,逐步实现Nuttx内核系统在imax6ul的开发板上移植,并开展些有意思的实验。

前言

小米宣布全新自研的操作系统—小米澎湃OS的出炉,这个系统是基于深度改造的Android,加上自研的Vela系统(基于Nuttx内核)合并而成,彻底重建了底层架构。

NuttX是一个成熟的实时操作系统,于07年由Gregory Nutt先生正式开源,2016年被三星选为TizenRT操作系统的内核,2019年在小米的推动下正式进入Apache基金会,经过开源社区多年的不懈努力,NuttX功能丰富,性能稳定,商业化成熟度高,Fitbit最近两代的手环产品和索尼多款消费级产品都是基于NuttX开发的。

学习方法

即便不用,学习研究也是不错的。它比linux轻量级,除了驱动和各个板子的包,其余代码量也不是很大。用来学习玩一玩也是不错的选择,它还能在esp32和stm32单片机上跑呢。分享下猫哥(熬夜晚上更有精神的猫)的学习方法,其实很简单。就是实战,动手去做项目。

像linux之父Linus大佬说的一句名言 “ Talk is cheap, show me the code ,just read the fucking source code!” 。如果你从事编程领域的工作却没有听过,请自行面壁 3 分钟 :) 。但是哪有那么多项目练?自己给自己找啊,权当是拿来玩的,just for fun。

在软件世界中,一旦你解决了最根本的的问题,兴趣就容易很快地消失。一旦你遇到了不知道而想要了解的东西,兴趣就很容易上来。nuttx就是一个可以让人产生兴趣的东西。

快乐的人意识到一天能做的有限,也不低估一年内的改变。在做事的时候 ,设定可实现的目标能带来快乐。如果做事没有得到反馈,没有成就,感觉没有尽头,人就特别容易放弃。为什么干农活容易给人满足感?因为一分耕耘一分收获,做多长时间农活就有多少成果。

NuttX官网地址:nuttx.apache.org/

NuttX的优点

在 NuttX 开源社区积极做贡献的,除了小米之外,还有索尼和NXP。很明显,这个系统肯定是有巨大优点,才会吸引大厂持续投入的。小米智能家居系统基于nuttx。

事实确实如此,这个系统最大的优点,就是原生支持对 POSIX 接口的兼容(可商用化RTOS中的唯一)。这也就意味着广受欢迎的 Linux 平台之现有开源库和组件,都可以很方便地移植到 NuttX 系统上。另外由于软件平台对硬件平台作出了隔离和统一,因此厂商的上层应用代码在移植到不同硬件平台时也可以更好地复用。

NuttX对POSIX标准有原生兼容:NuttX是可商用化RTOS中唯一一个对POSIX API有原生支持的实时操作系统,所以很多Linux社区的开源软件可以很方便的移植到NuttX上,这样可以极大的简化开源软件移植,方便代码复用,降低学习曲线,其它RTOS需要适配层把POSIX API转成内部API,而且通常只兼容一小部分的POSIX接口。

  • NuttX对POSIX标准有原生兼容:NuttX是可商用化RTOS中唯一一个对POSIX API有原生支持的实时操作系统,所以很多Linux社区的开源软件可以很方便的移植到NuttX上,这样可以极大的简化开源软件移植,方便代码复用,降低学习曲线,其它RTOS需要适配层把POSIX API转成内部API,而且通常只兼容一小部分的POSIX接口。
  • 完成度高:NuttX集成了文件系统、网络协议栈、图形库和驱动框架,减少开发成本。
  • 模块化设计:所有组件甚至组件内部特性,都可以通过配置Kconfig来调整或关闭,可按需对系统进行裁剪,适用于不同产品形态。
  • 代码精简:所有组件都是从头编码,专门对代码和数据做了优化设计。
  • 轻量级:虽然NuttX实现了传统操作系统的所有功能,但是最终生成的代码尺寸还是可以很小(最小配置不到32KB,最大配置不超过256KB)。
  • 和Linux系统的兼容性:因为NuttX整体设计、代码组织,编译过程和Linux非常接近,将会极大地降低Android/Linux开发者的迁移成本。
  • 活跃开放的社区:很多厂商(比如小米、Sony,乐鑫、NXP等)和开源爱好者都在积极回馈社区。

小米基于NuttX内核推出的物联网软件平台小米Vela ,意欲打通IoT应用,基于同一个底层基座,更加利于手机与IoT设备之间的协同。如小米正在重点开发小米妙享功能。小米妙享开放平台即将开放视频投射和应用协同功能。小米Vela可以打通碎片化的IoT应用,支持高性价比的MCU设备,可以原生支持小米妙享功能。手表,手环,音箱,智能家电,相机ISP等设备,通过技术创新,做大生态,让用户受益。

NuttX系统架构

从纵向看,NuttX和传统操作系统一样由调度子系统、文件子系统、网络子系统、图形子系统和驱动子系统组成。从横向看,NuttX向上给应用程序提供了POSIX和ANSI定义的标准C/C++接口。对于没有标准化的组件(比如各种外设),NuttX通常会提供兼容Linux的API。向下NuttX定义了Arch API、块设备驱动接口、网卡驱动接口、display驱动接口,以及各种总线和外设的lower half驱动接口,使得芯片厂商能够规范、快速地完成移植工作。下图中数量众多的蓝色模块就是NuttX实现的各种功能。

移植环境准备

linux主机编译环境建议使用ubuntu20。

nuttx系统内核源码下载:

git clone https://github.com/apache/nuttx.git
#下载快点儿的用这个:
git clone https://gitee.com/nuttx-rtos/nuttx.git
#apps也需下载,放在跟nuttx同级的目录下,目录名为apps
git clone https://github.com/apache/nuttx-apps.git
#或者
git clone https://gitee.com/nuttx-rtos/nuttx-apps.git

(源码包括两部分,一部分是系统源码,另外一部分是App仓库。App仓库是基于Nuttx的一些应用程序组件或者示例应用,这里面的程序都可以参考,去编写自己的应用程序,比如串口读写操作、socket操作、任务线程创建等等。里面也有一些第三方组件的支持,比如图形UI组件 LVGL。) 

arm交叉编译工具链下载:

sudo apt install gcc-arm-none-eabi

注:原linux开发板下的提供的工具链不能用,有区别。

arm-none-eabi-gcc:Arm官方用于编译 ARM 架构的裸机系统(包括 ARM Linux 的 boot、kernel,不适用编译 Linux)。

arm-none-linux-gnueabi-gcc:主要用于基于ARM架构的Linux系统,==可用于编译 ARM 架构的 u-boot、Linux内核、Linux应用等,使用Glibc库,带有 Linux 操作系统的用到。

如果目标系统的工具链不是这个arm-none-eabi-gcc,编译的时候也可以通过指定CROSSDEV的前缀。

make CROSSDEV=arm-none-eabi-

以下指令根据需要,非必须。 

sudo apt install dos2unix
#非必须,如果没有可执行权限的话执行它
find ./tools -type f -name "*.sh" -exec chmod +x {} \;
#非必须,之前是源码下到windows下,换行变成了回车换行(\r\n) linux下换行只能是\n
find ./tools -type f | xargs dos2unix
#列出支持的板子配置
./tools/configure.sh -L
#过滤,sabre这个是nxp官方的imx6系列的板子(cortex-a9),比较接近imx6ul(32位arm-cortexa7)
./tools/configure.sh -L | grep "sabre"

./tools/configure.sh -l sabre-6quad:nsh

#source /opt/fsl-imx-x11/4.1.15-2.1.0/environment-setup-cortexa7hf-neon-poky-linux-gnueabi

安装环境依赖:

以下最好都安装,根据你的环境不同,可能有的非必须。但为了不中途编译报错,建议全装。因为里面一些确实很有用啊,比如gperf,genromfs,kconfig-frontends等。后面的编译报错多跟少这一步的依赖有关系。

sudo apt install \
bison flex gettext texinfo libncurses5-dev libncursesw5-dev \
gperf automake libtool pkg-config build-essential gperf genromfs \
libgmp-dev libmpc-dev libmpfr-dev libisl-dev binutils-dev libelf-dev \
libexpat-dev gcc-multilib g++-multilib picocom u-boot-tools util-linux
sudo apt install kconfig-frontends
sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi

 列出支持的板子配置,使用命令:

cd nuttx
./tools/configure.sh -L

模拟器环境使用

NuttX 有个很强大的功能就是它有一个完成的模拟器支持,如果代码和硬件无关,在模拟器运行成功后,无需任何修改可以运行在硬件上。Nuttx 支持在电脑中使用模拟器运行 nuttx。在开发时先在 sim 中调试验证完成后,再使用硬件进行调试,能够提高开发效率和缩短开发时间。

配置模拟器版本编译

在 Nuttx 的代码中默认包含所有支持的芯片驱动,所有无需下载额外的代码,只要根据需要选择你需要使用配置即可:

# 进入 nuttx 目录
cd nuttx
# c查看所有可用的配置
./tools/configure.sh -L 

输入命令后会打印非常多配置,以 sim:minibaisc 为例,其中冒号前面的 sim 表示使用芯片,冒号后面的 minibasic 表示具体配置名称。

sim:minibasic 表示在模拟器中运行的最小程序配置,它编译完后它只包含一个 shell 和一个 hello world。

make distclean
# 生成指定配置的配置信息
./tools/configure.sh -l sim:minibasic
# 编译程序
make -j

编译完成后,在 nuttx 目录下(执行 make 的当前目录),会生成一个 ./nuttx 可执行文件。

运行 ./nuttx 后会出现一个新的 shell,这个是 Nuttx 的终端 nsh,输入 help 命令可查看当前可用命令。

输入 hello 后按回车,即执行 hello 的程序,然后打印出 hello world。退出 nsh 需要使用命令 poweroff,而不能使用 Ctrl-C 结束程序。

hello 程序所在位置为:apps/examples/hello/hello_main.c 中,打开文件可以可进行修改然后编译运行。

配置NUTTX系统

编译nuttx系统前,需要先配置下它。

进入NUTTX源码根目录

#需要先清除下,否则可能还是之前的配置信息
sudo make distclean

重新配置系统

以stm32f4discovery开发板举例:

cd nuttx // 进入根目录

带USB调试:

./tools/configure.sh -l stm32f4discovery:usbnsh

 带串口调试:

./tools/configure.sh -l stm32f4discovery:nsh

该操作的目的是使用configs目录下nsh配置文件defconfig生成根目录下的.config文件,用于对系统进行配置 。

创建了配置文件后,可以直接make,目前的系统已经由./tools/configure.sh按照stm32f4discovery/configs/nsh/defconfig文件配置完成。

当然也可以基于当前配置修复配置:

cd nuttx/
make menuconfig

执行该指令后会调用上面安装的KConfig工具,进行图形化的配置,可以重新配置Nuttx使用的mcu、mcu开启的外设(串口、spi、gpio、iic、usb等)、系统组件、系统应用等等。 

哪些文件参与了编译?

以stm32f4discovery开发板为例,可以知道哪些文件参与了编译,这对新系统的移植很有帮助。在编译时通过指定参数,可以输出日志。如:

make --dry-run  >log.txt

 输出日志如下:

make -s --no-print-directory -C tools -f Makefile.host mkconfig
mkdir -p staging
for dir in /home/ubuntu/test/nuttx/src/apps sched drivers boards arch/arm/src fs binfmt libs/libc mm libs/libxx ; do \
	make -s --no-print-directory -C $dir EXTRAFLAGS="-D__KERNEL__ " depend || exit; \
done
make -C /home/ubuntu/test/nuttx/src/apps/builtin depend APPDIR="/home/ubuntu/test/nuttx/src/apps"
:
make -C /home/ubuntu/test/nuttx/src/apps/examples/hello depend APPDIR="/home/ubuntu/test/nuttx/src/apps"
:
make -C /home/ubuntu/test/nuttx/src/apps/nshlib depend APPDIR="/home/ubuntu/test/nuttx/src/apps"
:
make -C /home/ubuntu/test/nuttx/src/apps/platform depend APPDIR="/home/ubuntu/test/nuttx/src/apps"
:
make -C /home/ubuntu/test/nuttx/src/apps/system/nsh depend APPDIR="/home/ubuntu/test/nuttx/src/apps"
:
make -C /home/ubuntu/test/nuttx/src/apps/system/readline depend APPDIR="/home/ubuntu/test/nuttx/src/apps"
:
touch .depend
make -s --no-print-directory -C sched libsched.a EXTRAFLAGS="-D__KERNEL__ "
"CC:  clock/clock.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    clock/clock.c -o  clock.o

"CC:  clock/clock_initialize.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    clock/clock_initialize.c -o  clock_initialize.o

"CC:  clock/clock_settime.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    clock/clock_settime.c -o  clock_settime.o

......
arm-none-eabi-ar rcs  libsched.a    clock.o clock_initialize.o clock_settime.o clock_gettime.o clock_abstime2ticks.o clock_systime_ticks.o clock_systime_timespec.o 。。。
"IN: sched/libsched.a -> staging/libsched.a "
install -m 0644 sched/libsched.a staging/libsched.a

make -s --no-print-directory -C drivers libdrivers.a EXTRAFLAGS="-D__KERNEL__ "
"CC:  drivers_initialize.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/drivers/crypto -I /home/ubuntu/test/nuttx/src/nuttx/drivers/motor -I /home/ubuntu/test/nuttx/src/nuttx/drivers/loop -I /home/ubuntu/test/nuttx/src/nuttx/sched -I /home/ubuntu/test/nuttx/src/nuttx/drivers/spi -I /home/ubuntu/test/nuttx/src/nuttx/drivers/usbhost    drivers_initialize.c -o  drivers_initialize.o

"CC:  loop/losetup.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/drivers/crypto -I /home/ubuntu/test/nuttx/src/nuttx/drivers/motor -I /home/ubuntu/test/nuttx/src/nuttx/drivers/loop -I /home/ubuntu/test/nuttx/src/nuttx/sched -I /home/ubuntu/test/nuttx/src/nuttx/drivers/spi -I /home/ubuntu/test/nuttx/src/nuttx/drivers/usbhost    loop/losetup.c -o  losetup.o

"CC:  misc/dev_null.c "
......
"CC:  syslog/syslog_device.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/drivers/crypto -I /home/ubuntu/test/nuttx/src/nuttx/drivers/motor -I /home/ubuntu/test/nuttx/src/nuttx/drivers/loop -I /home/ubuntu/test/nuttx/src/nuttx/sched -I /home/ubuntu/test/nuttx/src/nuttx/drivers/spi -I /home/ubuntu/test/nuttx/src/nuttx/drivers/usbhost    syslog/syslog_device.c -o  syslog_device.o

arm-none-eabi-ar rcs  libdrivers.a    drivers_initialize.o losetup.o dev_null.o ramdisk.o mkrd.o pipe.o fifo.o pipe_common.o serial.o serial_io.o spi_transfer.o vsyslog.o syslog_channel.o syslog_putc.o syslog_write.o syslog_flush.o syslog_initialize.o syslog_device.o
"IN: drivers/libdrivers.a -> staging/libdrivers.a "
install -m 0644 drivers/libdrivers.a staging/libdrivers.a

make -s --no-print-directory -C boards libboards.a EXTRAFLAGS="-D__KERNEL__ "
"CC:  dummy.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe    dummy.c -o  dummy.o

"CC:  boardctl.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe    boardctl.c -o  boardctl.o

arm-none-eabi-ar rcs  libboards.a    dummy.o boardctl.o 
"IN: boards/libboards.a -> staging/libboards.a "
install -m 0644 boards/libboards.a staging/libboards.a

make -s --no-print-directory -C libs/libc libc.a EXTRAFLAGS=""
"CC:  assert/lib_assert.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/libs/libc    assert/lib_assert.c -o  bin/lib_assert.o

"CC:  builtin/lib_builtin_getname.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/libs/libc    builtin/lib_builtin_getname.c -o  bin/lib_builtin_getname.o

"CC:  builtin/lib_builtin_isavail.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/libs/libc    builtin/lib_builtin_isavail.c -o  bin/lib_builtin_isavail.o

"CC:  builtin/lib_builtin_forindex.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/libs/libc    builtin/lib_builtin_forindex.c -o  bin/lib_builtin_forindex.o

"CC:  ctype/lib_isalnum.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/libs/libc    ctype/lib_isalnum.c -o  bin/lib_isalnum.o

"CC:  ctype/lib_isalpha.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/libs/libc    ctype/lib_isalpha.c -o  bin/lib_isalpha.o

......

"CC:  wctype/lib_towupper.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/libs/libc    wctype/lib_towupper.c -o  bin/lib_towupper.o

arm-none-eabi-ar rcs  libc.a     bin/lib_assert.o  bin/lib_builtin_getname.o  bin/lib_builtin_isavail.o  bin/lib_builtin_forindex.o  bin/lib_isalnum.o  bin/lib_isalpha.o  bin/lib_isascii.o  bin/lib_isblank.o  bin/lib_iscntrl.o  bin/lib_isdigit.o  bin/lib_isgraph.o  bin/lib_islower.o  bin/lib_isprint.o  bin/lib_ispunct.o  bin/lib_isspace.o  bin/lib_isupper.o  bin/lib_isxdigit.o  bin/lib_tolower.o  bin/lib_toupper.o  bin/lib_readdirr.o  bin/lib_telldir.o  bin/lib_alphasort.o  bin/lib_scandir.o  bin/lib_ftw.o  bin/lib_nftw.o  bin/lib_opendir.o  bin/lib_fdopendir.o  bin/lib_closedir.o  bin/lib_readdir.o  bin/lib_rewinddir.o  bin/lib_seekdir.o  bin/lib_dirfd.o  bin/lib_versionsort.o  bin/lib_errno.o  bin/lib_fixedmath.o  bin/lib_b16sin.o  bin/lib_b16cos.o  bin/lib_b16atan2.o  bin/lib_ubsqrt.o  bin/lib_getgrgid.o  bin/lib_getgrgidr.o  bin/lib_getgrnam.o  bin/lib_getgrnamr.o  bin/lib_initgroups.o  bin/lib_getgrbuf.o  bin/lib_getgrbufr.o  bin/lib_imaxabs.o  bin/lib_strtoimax.o  bin/lib_strtoumax.o  bin/lib_basename.o  bin/lib_dirname.o  bin/aeabi_atexit.o  bin/lib_mknod.o  bin/lib_umask.o  bin/lib_utsname.o  bin/lib_getrandom.o  bin/lib_xorshift128.o  bin/lib_tea_encrypt.o  bin/lib_tea_decrypt.o  bin/lib_cxx_initialize.o  bin/lib_impure.o  bin/lib_memfd.o  bin/lib_mutex.o  bin/lib_fchmodat.o  bin/lib_fstatat.o  bin/lib_getfullpath.o  bin/lib_openat.o  bin/lib_mkdirat.o  bin/lib_utimensat.o  bin/lib_mallopt.o  bin/lib_memoryregion.o  bin/lib_umul32.o  bin/lib_umul64.o  bin/lib_umul32x64.o  bin/lib_uadd32x64.o  bin/lib_uadd64.o  bin/lib_usub64x32.o  bin/lib_usub64.o  bin/lib_dumpbuffer.o  bin/lib_dumpvbuffer.o  bin/lib_fnmatch.o  bin/lib_debug.o  bin/lib_crc64.o  bin/lib_crc32.o  bin/lib_crc16.o  bin/lib_crc16ccitt.o  bin/lib_crc8.o  bin/lib_crc8ccitt.o  bin/lib_crc8table.o  bin/lib_glob.o  bin/lib_execinfo.o  bin/lib_ftok.o  bin/lib_err.o  bin/lib_instrument.o  bin/lib_log2ceil.o  bin/lib_log2floor.o  bin/lib_addrconfig.o  bin/lib_base64.o  bin/lib_htons.o  bin/lib_htonl.o  bin/lib_htonq.o  bin/lib_inetaddr.o  bin/lib_inetaton.o  bin/lib_inetntoa.o  bin/lib_inetntop.o  bin/lib_inetpton.o  bin/lib_inetnetwork.o  bin/lib_etherntoa.o  bin/lib_etheraton.o  bin/lib_obstack_init.o  bin/lib_obstack_alloc.o  bin/lib_obstack_copy.o  bin/lib_obstack_free.o  bin/lib_obstack_make_room.o  bin/lib_obstack_blank.o  bin/lib_obstack_grow.o  bin/lib_obstack_finish.o  bin/lib_obstack_object_size.o  bin/lib_obstack_room.o  bin/lib_obstack_printf.o  bin/lib_obstack_vprintf.o  bin/lib_obstack_malloc.o  bin/pthread_attr_init.o  bin/pthread_attr_destroy.o  bin/pthread_attr_setschedpolicy.o  bin/pthread_attr_getschedpolicy.o  bin/pthread_attr_setinheritsched.o  bin/pthread_attr_getinheritsched.o  bin/pthread_attr_setdetachstate.o  bin/pthread_attr_getdetachstate.o  bin/pthread_attr_setstackaddr.o  bin/pthread_attr_getstackaddr.o  bin/pthread_attr_setstacksize.o  bin/pthread_attr_getstacksize.o  bin/pthread_attr_setstack.o  bin/pthread_attr_getstack.o  bin/pthread_attr_setschedparam.o  bin/pthread_attr_getschedparam.o  bin/pthread_attr_setscope.o  bin/pthread_attr_getscope.o  bin/pthread_barrierattr_init.o  bin/pthread_barrierattr_destroy.o  bin/pthread_barrierattr_getpshared.o  bin/pthread_barrierattr_setpshared.o  bin/pthread_barrierinit.o  bin/pthread_barrierdestroy.o  bin/pthread_condattr_init.o  bin/pthread_condattr_destroy.o  bin/pthread_condattr_getpshared.o  bin/pthread_condattr_setpshared.o  bin/pthread_condattr_setclock.o  bin/pthread_condattr_getclock.o  bin/pthread_condinit.o  bin/pthread_conddestroy.o  bin/pthread_condtimedwait.o  bin/pthread_create.o  bin/pthread_exit.o  bin/pthread_kill.o  bin/pthread_setname_np.o  bin/pthread_getname_np.o  bin/pthread_get_stackaddr_np.o  bin/pthread_get_stacksize_np.o  bin/pthread_mutexattr_init.o  bin/pthread_mutexattr_destroy.o  bin/pthread_mutexattr_getpshared.o  bin/pthread_mutexattr_setpshared.o  bin/pthread_mutexattr_setprotocol.o  bin/pthread_mutexattr_getprotocol.o  bin/pthread_mutexattr_settype.o  bin/pthread_mutexattr_gettype.o  bin/pthread_mutexattr_setrobust.o  bin/pthread_mutexattr_getrobust.o  bin/pthread_mutex_lock.o  bin/pthread_once.o  bin/pthread_yield.o  bin/pthread_atfork.o  bin/pthread_rwlockattr_init.o  bin/pthread_rwlockattr_destroy.o  bin/pthread_rwlockattr_getpshared.o  bin/pthread_rwlockattr_setpshared.o  bin/pthread_rwlock.o  bin/pthread_rwlock_rdlock.o  bin/pthread_rwlock_wrlock.o  bin/pthread_setcancelstate.o  bin/pthread_setcanceltype.o  bin/pthread_testcancel.o  bin/pthread_getcpuclockid.o  bin/lib_getpwnam.o  bin/lib_getpwnamr.o  bin/lib_getpwuid.o  bin/lib_getpwuidr.o  bin/lib_getpwent.o  bin/lib_pwd_globals.o  bin/lib_getpwbuf.o  bin/lib_getpwbufr.o  bin/sq_addafter.o  bin/sq_remlast.o  bin/sq_remfirst.o  bin/sq_remafter.o  bin/sq_count.o  bin/dq_addafter.o  bin/dq_remlast.o  bin/dq_remfirst.o  bin/dq_remafter.o  bin/dq_count.o  bin/sched_getprioritymax.o  bin/sched_getprioritymin.o  bin/clock_ticks2time.o  bin/clock_time2ticks.o  bin/clock_timespec_add.o  bin/clock_timespec_subtract.o  bin/clock_getcpuclockid.o  bin/clock_getres.o  bin/task_cancelpt.o  bin/task_setcancelstate.o  bin/task_setcanceltype.o  bin/task_testcancel.o  bin/task_startup.o  bin/hcreate_r.o  bin/hcreate.o  bin/hash_func.o  bin/sem_init.o  bin/sem_setprotocol.o  bin/sem_getprotocol.o  bin/sem_getvalue.o  bin/sem_destroy.o  bin/sem_wait.o  bin/sem_trywait.o  bin/sem_timedwait.o  bin/sem_clockwait.o  bin/sem_post.o  bin/sig_addset.o  bin/sig_delset.o  bin/sig_emptyset.o  bin/sig_fillset.o  bin/sig_nandset.o  bin/sig_andset.o  bin/sig_orset.o  bin/sig_xorset.o  bin/sig_isemptyset.o  bin/sig_killpg.o  bin/sig_altstack.o  bin/sig_interrupt.o  bin/sig_hold.o  bin/sig_ignore.o  bin/sig_ismember.o  bin/sig_pause.o  bin/sig_psignal.o  bin/sig_raise.o  bin/sig_relse.o  bin/sig_set.o  bin/sig_signal.o  bin/sig_wait.o  bin/lib_psfa_addaction.o  bin/lib_psfa_addclose.o  bin/lib_psfa_adddup2.o  bin/lib_psfa_addopen.o  bin/lib_psfa_destroy.o  bin/lib_psfa_init.o  bin/lib_psa_getflags.o  bin/lib_psa_getschedparam.o  bin/lib_psa_getschedpolicy.o  bin/lib_psa_init.o  bin/lib_psa_setflags.o  bin/lib_psa_setschedparam.o  bin/lib_psa_setschedpolicy.o  bin/lib_psa_getsigmask.o  bin/lib_psa_setsigmask.o  bin/lib_psa_getstacksize.o  bin/lib_psa_setstacksize.o  bin/lib_psa_destroy.o  bin/lib_psa_getstackaddr.o  bin/lib_psa_setstackaddr.o  bin/lib_fileno.o  bin/lib_printf.o  bin/lib_sprintf.o  bin/lib_asprintf.o  bin/lib_snprintf.o  bin/lib_libsprintf.o  bin/lib_vsprintf.o  bin/lib_vasprintf.o  bin/lib_vsnprintf.o  bin/lib_dprintf.o  bin/lib_vdprintf.o  bin/lib_vprintf.o  bin/lib_perror.o  bin/lib_putchar.o  bin/lib_getchar.o  bin/lib_puts.o  bin/lib_gets_s.o  bin/lib_gets.o  bin/lib_libdgets.o  bin/lib_sscanf.o  bin/lib_vsscanf.o  bin/lib_libvscanf.o  bin/lib_libvsprintf.o  bin/lib_remove.o  bin/lib_tempnam.o  bin/lib_tmpnam.o  bin/lib_ultoa_invert.o  bin/lib_renameat.o  bin/lib_putwchar.o  bin/lib_fopen.o  bin/lib_freopen.o  bin/lib_fclose.o  bin/lib_fread.o  bin/lib_libfread_unlocked.o  bin/lib_fseek.o  bin/lib_fseeko.o  bin/lib_ftell.o  bin/lib_ftello.o  bin/lib_fsetpos.o  bin/lib_getdelim.o  bin/lib_fgetpos.o  bin/lib_getc.o  bin/lib_fgetc.o  bin/lib_fgets.o  bin/lib_libfgets.o  bin/lib_fwrite.o  bin/lib_libfwrite.o  bin/lib_fflush.o  bin/lib_libflushall.o  bin/lib_libfflush.o  bin/lib_rdflush_unlocked.o  bin/lib_wrflush_unlocked.o  bin/lib_putc.o  bin/lib_fputc.o  bin/lib_fputs.o  bin/lib_ungetc.o  bin/lib_fprintf.o  bin/lib_vfprintf.o  bin/lib_feof.o  bin/lib_ferror.o  bin/lib_rewind.o  bin/lib_clearerr.o  bin/lib_scanf.o  bin/lib_vscanf.o  bin/lib_fscanf.o  bin/lib_vfscanf.o  bin/lib_tmpfile.o  bin/lib_setbuf.o  bin/lib_setvbuf.o  bin/lib_libfilelock.o  bin/lib_libgetstreams.o  bin/lib_setbuffer.o  bin/lib_fputwc.o  bin/lib_putwc.o  bin/lib_fputws.o  bin/lib_fopencookie.o  bin/lib_fmemopen.o  bin/lib_open_memstream.o  bin/lib_fgetwc.o  bin/lib_getwc.o  bin/lib_ungetwc.o  bin/lib_abs.o  bin/lib_abort.o  bin/lib_atof.o  bin/lib_atoi.o  bin/lib_getprogname.o  bin/lib_atol.o  bin/lib_atoll.o  bin/lib_div.o  bin/lib_ldiv.o  bin/lib_lldiv.o  bin/lib_exit.o  bin/lib_itoa.o  bin/lib_labs.o  bin/lib_llabs.o  bin/lib_realpath.o  bin/lib_bsearch.o  bin/lib_rand.o  bin/lib_rand48.o  bin/lib_qsort.o  bin/lib_srand.o  bin/lib_strtol.o  bin/lib_strtoll.o  bin/lib_strtoul.o  bin/lib_strtoull.o  bin/lib_strtold.o  bin/lib_checkbase.o  bin/lib_mktemp.o  bin/lib_mkstemp.o  bin/lib_mkdtemp.o  bin/lib_aligned_alloc.o  bin/lib_posix_memalign.o  bin/lib_valloc.o  bin/lib_mblen.o  bin/lib_mbtowc.o  bin/lib_wctomb.o  bin/lib_mbstowcs.o  bin/lib_wcstombs.o  bin/lib_atexit.o  bin/lib_meminstream.o  bin/lib_memoutstream.o  bin/lib_memsistream.o  bin/lib_memsostream.o  bin/lib_lowoutstream.o  bin/lib_rawinstream.o  bin/lib_rawoutstream.o  bin/lib_rawsistream.o  bin/lib_rawsostream.o  bin/lib_zeroinstream.o  bin/lib_nullinstream.o  bin/lib_nulloutstream.o  bin/lib_mtdoutstream.o  bin/lib_libnoflush.o  bin/lib_libsnoflush.o  bin/lib_syslogstream.o  bin/lib_syslograwstream.o  bin/lib_bufferedoutstream.o  bin/lib_hexdumpstream.o  bin/lib_fileoutstream.o  bin/lib_stdinstream.o  bin/lib_stdoutstream.o  bin/lib_stdsistream.o  bin/lib_stdsostream.o  bin/lib_blkoutstream.o  bin/lib_ffs.o  bin/lib_ffsl.o  bin/lib_ffsll.o  bin/lib_fls.o  bin/lib_flsl.o  bin/lib_flsll.o  bin/lib_isbasedigit.o  bin/lib_memccpy.o  bin/lib_memrchr.o  bin/lib_memmem.o  bin/lib_popcount.o  bin/lib_popcountl.o  bin/lib_popcountll.o  bin/lib_skipspace.o  bin/lib_stpcpy.o  bin/lib_stpncpy.o  bin/lib_strcasecmp.o  bin/lib_strcat.o  bin/lib_strcspn.o  bin/lib_strchrnul.o  bin/lib_strdup.o  bin/lib_strerror.o  bin/lib_strncasecmp.o  bin/lib_strncat.o  bin/lib_strncmp.o  bin/lib_strndup.o  bin/lib_strcasestr.o  bin/lib_strpbrk.o  bin/lib_strrchr.o  bin/lib_strspn.o  bin/lib_strstr.o  bin/lib_strtok.o  bin/lib_strtokr.o  bin/lib_strsep.o  bin/lib_strerrorr.o  bin/lib_explicit_bzero.o  bin/lib_strsignal.o  bin/lib_index.o  bin/lib_rindex.o  bin/lib_timingsafe_bcmp.o  bin/lib_strverscmp.o  bin/lib_mempcpy.o  bin/lib_rawmemchr.o  bin/lib_memchr.o  bin/lib_memcmp.o  bin/lib_memmove.o  bin/lib_memset.o  bin/lib_strchr.o  bin/lib_strcmp.o  bin/lib_strcpy.o  bin/lib_strlcat.o  bin/lib_strlcpy.o  bin/lib_strlen.o  bin/lib_strncpy.o  bin/lib_strnlen.o  bin/lib_memcpy.o  bin/symtab_findbyname.o  bin/symtab_findbyvalue.o  bin/symtab_sortbyname.o  bin/lib_syslog.o  bin/lib_setlogmask.o  bin/lib_cfspeed.o  bin/lib_cfmakeraw.o  bin/lib_isatty.o  bin/lib_tcflush.o  bin/lib_tcdrain.o  bin/lib_tcflow.o  bin/lib_tcgetattr.o  bin/lib_tcsetattr.o  bin/lib_tcsendbreak.o  bin/lib_ttyname.o  bin/lib_ttynamer.o  bin/lib_strftime.o  bin/lib_strptime.o  bin/lib_calendar2utc.o  bin/lib_daysbeforemonth.o  bin/lib_gettimeofday.o  bin/lib_isleapyear.o  bin/lib_settimeofday.o  bin/lib_time.o  bin/lib_timespec_get.o  bin/lib_nanosleep.o  bin/lib_difftime.o  bin/lib_dayofweek.o  bin/lib_asctime.o  bin/lib_asctimer.o  bin/lib_ctime.o  bin/lib_ctimer.o  bin/lib_gethrtime.o  bin/lib_timegm.o  bin/lib_gmtime.o  bin/lib_gmtimer.o  bin/task_getinfo.o  bin/tls_getinfo.o  bin/lib_readv.o  bin/lib_writev.o  bin/lib_preadv.o  bin/lib_pwritev.o  bin/lib_access.o  bin/lib_daemon.o  bin/lib_swab.o  bin/lib_pathconf.o  bin/lib_sysconf.o  bin/lib_getentropy.o  bin/lib_getopt_common.o  bin/lib_getopt.o  bin/lib_getopt_long.o  bin/lib_getopt_longonly.o  bin/lib_getoptvars.o  bin/lib_getoptargp.o  bin/lib_getopterrp.o  bin/lib_getoptindp.o  bin/lib_getoptoptp.o  bin/lib_times.o  bin/lib_alarm.o  bin/lib_fstatvfs.o  bin/lib_statvfs.o  bin/lib_sleep.o  bin/lib_nice.o  bin/lib_setreuid.o  bin/lib_setregid.o  bin/lib_getrusage.o  bin/lib_utime.o  bin/lib_utimes.o  bin/lib_setrlimit.o  bin/lib_getrlimit.o  bin/lib_setpriority.o  bin/lib_getpriority.o  bin/lib_futimes.o  bin/lib_lutimes.o  bin/lib_gethostname.o  bin/lib_sethostname.o  bin/lib_fchownat.o  bin/lib_linkat.o  bin/lib_readlinkat.o  bin/lib_symlinkat.o  bin/lib_unlinkat.o  bin/lib_usleep.o  bin/lib_getpgrp.o  bin/lib_getpgid.o  bin/lib_lockf.o  bin/lib_setuid.o  bin/lib_setgid.o  bin/lib_getuid.o  bin/lib_getgid.o  bin/lib_seteuid.o  bin/lib_setegid.o  bin/lib_geteuid.o  bin/lib_getegid.o  bin/lib_chdir.o  bin/lib_fchdir.o  bin/lib_getcwd.o  bin/lib_restoredir.o  bin/lib_truncate.o  bin/lib_posix_fallocate.o  bin/lib_fork.o  bin/lib_vfork.o  bin/lib_uuid_compare.o  bin/lib_uuid_create.o  bin/lib_uuid_create_nil.o  bin/lib_uuid_equal.o  bin/lib_uuid_from_string.o  bin/lib_uuid_hash.o  bin/lib_uuid_is_nil.o  bin/lib_uuid_stream.o  bin/lib_uuid_to_string.o  bin/lib_wcscmp.o  bin/lib_wcslen.o  bin/lib_wmemchr.o  bin/lib_wmemcmp.o  bin/lib_wmemcpy.o  bin/lib_wmemmove.o  bin/lib_wmemset.o  bin/lib_btowc.o  bin/lib_mbrtowc.o  bin/lib_wctob.o  bin/lib_wcslcpy.o  bin/lib_wcsxfrm.o  bin/lib_wcrtomb.o  bin/lib_wcsftime.o  bin/lib_wcscoll.o  bin/lib_wcstol.o  bin/lib_wcstoll.o  bin/lib_wcstoul.o  bin/lib_wcstoull.o  bin/lib_wcstold.o  bin/lib_wcstof.o  bin/lib_wcstod.o  bin/lib_swprintf.o  bin/lib_mbsnrtowcs.o  bin/lib_wcsnrtombs.o  bin/lib_mbsinit.o  bin/lib_mbrlen.o  bin/lib_mbsrtowcs.o  bin/lib_wcsrtombs.o  bin/lib_wcscpy.o  bin/lib_wcscat.o  bin/lib_wcslcat.o  bin/lib_wcsncat.o  bin/lib_wcsrchr.o  bin/lib_wcschr.o  bin/lib_wcsncpy.o  bin/lib_wcsncmp.o  bin/lib_wcscspn.o  bin/lib_wcspbrk.o  bin/lib_wcsspn.o  bin/lib_wcsstr.o  bin/lib_wcstok.o  bin/lib_wcswcs.o  bin/lib_wcwidth.o  bin/lib_wcswidth.o  bin/lib_wctype.o  bin/lib_iswctype.o  bin/lib_towlower.o  bin/lib_towupper.o
"IN: libs/libc/libc.a -> staging/libc.a "
install -m 0644 libs/libc/libc.a staging/libc.a

make -s --no-print-directory -C mm libmm.a EXTRAFLAGS=""
"CC:  mm_heap/mm_initialize.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/mm    mm_heap/mm_initialize.c -o  bin/mm_initialize.o

"CC:  mm_heap/mm_lock.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/mm    mm_heap/mm_lock.c -o  bin/mm_lock.o

......

"CC:  mempool/mempool_procfs.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/mm    mempool/mempool_procfs.c -o  bin/mempool_procfs.o

"CC:  map/mm_map.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/mm    map/mm_map.c -o  bin/mm_map.o

arm-none-eabi-ar rcs  libmm.a     bin/mm_initialize.o  bin/mm_lock.o  bin/mm_addfreechunk.o  bin/mm_size2ndx.o  bin/mm_malloc_size.o  bin/mm_shrinkchunk.o  bin/mm_brkaddr.o  bin/mm_calloc.o  bin/mm_extend.o  bin/mm_free.o  bin/mm_mallinfo.o  bin/mm_malloc.o  bin/mm_foreach.o  bin/mm_memalign.o  bin/mm_realloc.o  bin/mm_zalloc.o  bin/mm_heapmember.o  bin/mm_memdump.o  bin/umm_globals.o  bin/umm_initialize.o  bin/umm_addregion.o  bin/umm_malloc_size.o  bin/umm_brkaddr.o  bin/umm_calloc.o  bin/umm_extend.o  bin/umm_free.o  bin/umm_mallinfo.o  bin/umm_malloc.o  bin/umm_memalign.o  bin/umm_realloc.o  bin/umm_zalloc.o  bin/umm_heapmember.o  bin/umm_memdump.o  bin/circbuf.o  bin/mempool.o  bin/mempool_multiple.o  bin/mempool_procfs.o  bin/mm_map.o
"IN: mm/libmm.a -> staging/libmm.a "
install -m 0644 mm/libmm.a staging/libmm.a

make -s --no-print-directory -C arch/arm/src libarch.a EXTRAFLAGS="-D__KERNEL__ "
"AS:  common/gnu/fork.S "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -D__ASSEMBLY__ -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched  common/gnu/fork.S  -o  fork.o

"AS:  common/gnu/arm_testset.S "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -D__ASSEMBLY__ -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched  common/gnu/arm_testset.S  -o  arm_testset.o

"AS:  common/gnu/arm_fetchadd.S "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -D__ASSEMBLY__ -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched  common/gnu/arm_fetchadd.S  -o  arm_fetchadd.o

"AS:  armv7-m/arm_exception.S "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -D__ASSEMBLY__ -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched  armv7-m/arm_exception.S  -o  arm_exception.o

"AS:  armv7-m/arm_saveusercontext.S "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -D__ASSEMBLY__ -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched  armv7-m/arm_saveusercontext.S  -o  arm_saveusercontext.o

"CC:  chip/stm32_allocateheap.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_allocateheap.c -o  stm32_allocateheap.o

"CC:  chip/stm32_start.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_start.c -o  stm32_start.o

"CC:  chip/stm32_rcc.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_rcc.c -o  stm32_rcc.o

"CC:  chip/stm32_lse.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_lse.c -o  stm32_lse.o

"CC:  chip/stm32_lsi.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_lsi.c -o  stm32_lsi.o

"CC:  chip/stm32_gpio.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_gpio.c -o  stm32_gpio.o

"CC:  chip/stm32_exti_gpio.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_exti_gpio.c -o  stm32_exti_gpio.o

"CC:  chip/stm32_flash.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_flash.c -o  stm32_flash.o

"CC:  chip/stm32_irq.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_irq.c -o  stm32_irq.o

"CC:  chip/stm32_lowputc.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_lowputc.c -o  stm32_lowputc.o

"CC:  chip/stm32_serial.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_serial.c -o  stm32_serial.o

"CC:  chip/stm32_spi.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_spi.c -o  stm32_spi.o

"CC:  chip/stm32_i2s.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_i2s.c -o  stm32_i2s.o

"CC:  chip/stm32_sdio.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_sdio.c -o  stm32_sdio.o

"CC:  chip/stm32_tim.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_tim.c -o  stm32_tim.o

"CC:  chip/stm32_waste.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_waste.c -o  stm32_waste.o

"CC:  chip/stm32_ccm.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_ccm.c -o  stm32_ccm.o

"CC:  chip/stm32_uid.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_uid.c -o  stm32_uid.o

"CC:  chip/stm32_capture.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_capture.c -o  stm32_capture.o

"CC:  chip/stm32_dfumode.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_dfumode.c -o  stm32_dfumode.o

"CC:  chip/stm32_timerisr.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_timerisr.c -o  stm32_timerisr.o

"CC:  chip/stm32f40xxx_i2c.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32f40xxx_i2c.c -o  stm32f40xxx_i2c.o

"CC:  chip/stm32_idle.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_idle.c -o  stm32_idle.o

"CC:  chip/stm32_pmstop.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_pmstop.c -o  stm32_pmstop.o

"CC:  chip/stm32_pmstandby.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_pmstandby.c -o  stm32_pmstandby.o

"CC:  chip/stm32_pmsleep.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_pmsleep.c -o  stm32_pmsleep.o

"CC:  chip/stm32_pminitialize.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_pminitialize.c -o  stm32_pminitialize.o

"CC:  chip/stm32_pwr.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_pwr.c -o  stm32_pwr.o

"CC:  chip/stm32_exti_pwr.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    chip/stm32_exti_pwr.c -o  stm32_exti_pwr.o

"CC:  common/arm_allocateheap.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_allocateheap.c -o  arm_allocateheap.o

"CC:  common/arm_createstack.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_createstack.c -o  arm_createstack.o

"CC:  common/arm_exit.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_exit.c -o  arm_exit.o

"CC:  common/arm_getintstack.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_getintstack.c -o  arm_getintstack.o

"CC:  common/arm_initialize.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_initialize.c -o  arm_initialize.o

"CC:  common/arm_lowputs.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_lowputs.c -o  arm_lowputs.o

"CC:  common/arm_modifyreg8.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_modifyreg8.c -o  arm_modifyreg8.o

"CC:  common/arm_modifyreg16.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_modifyreg16.c -o  arm_modifyreg16.o

"CC:  common/arm_modifyreg32.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_modifyreg32.c -o  arm_modifyreg32.o

"CC:  common/arm_nputs.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_nputs.c -o  arm_nputs.o

"CC:  common/arm_releasestack.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_releasestack.c -o  arm_releasestack.o

"CC:  common/arm_registerdump.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_registerdump.c -o  arm_registerdump.o

"CC:  common/arm_stackframe.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_stackframe.c -o  arm_stackframe.o

"CC:  common/arm_switchcontext.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_switchcontext.c -o  arm_switchcontext.o

"CC:  common/arm_usestack.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_usestack.c -o  arm_usestack.o

"CC:  common/arm_fork.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_fork.c -o  arm_fork.o

"CC:  common/arm_mdelay.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_mdelay.c -o  arm_mdelay.o

"CC:  common/arm_udelay.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_udelay.c -o  arm_udelay.o

"CC:  common/arm_idle.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    common/arm_idle.c -o  arm_idle.o

"CC:  armv7-m/arm_busfault.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_busfault.c -o  arm_busfault.o

"CC:  armv7-m/arm_cache.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_cache.c -o  arm_cache.o

"CC:  armv7-m/arm_cpuinfo.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_cpuinfo.c -o  arm_cpuinfo.o

"CC:  armv7-m/arm_doirq.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_doirq.c -o  arm_doirq.o

"CC:  armv7-m/arm_hardfault.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_hardfault.c -o  arm_hardfault.o

"CC:  armv7-m/arm_initialstate.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_initialstate.c -o  arm_initialstate.o

"CC:  armv7-m/arm_itm.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_itm.c -o  arm_itm.o

"CC:  armv7-m/arm_memfault.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_memfault.c -o  arm_memfault.o

"CC:  armv7-m/arm_perf.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_perf.c -o  arm_perf.o

"CC:  armv7-m/arm_schedulesigaction.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_schedulesigaction.c -o  arm_schedulesigaction.o

"CC:  armv7-m/arm_sigdeliver.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_sigdeliver.c -o  arm_sigdeliver.o

"CC:  armv7-m/arm_svcall.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_svcall.c -o  arm_svcall.o

"CC:  armv7-m/arm_systemreset.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_systemreset.c -o  arm_systemreset.o

"CC:  armv7-m/arm_tcbinfo.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_tcbinfo.c -o  arm_tcbinfo.o

"CC:  armv7-m/arm_trigger_irq.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_trigger_irq.c -o  arm_trigger_irq.o

"CC:  armv7-m/arm_usagefault.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_usagefault.c -o  arm_usagefault.o

"CC:  armv7-m/arm_vectors.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_vectors.c -o  arm_vectors.o

"CC:  armv7-m/arm_dbgmonitor.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched    armv7-m/arm_dbgmonitor.c -o  arm_dbgmonitor.o

arm-none-eabi-ar rcs  libarch.a   fork.o arm_testset.o arm_fetchadd.o arm_exception.o arm_saveusercontext.o stm32_allocateheap.o stm32_start.o stm32_rcc.o stm32_lse.o stm32_lsi.o stm32_gpio.o stm32_exti_gpio.o stm32_flash.o stm32_irq.o stm32_lowputc.o stm32_serial.o stm32_spi.o stm32_i2s.o stm32_sdio.o stm32_tim.o stm32_waste.o stm32_ccm.o stm32_uid.o stm32_capture.o stm32_dfumode.o stm32_timerisr.o stm32f40xxx_i2c.o stm32_idle.o stm32_pmstop.o stm32_pmstandby.o stm32_pmsleep.o stm32_pminitialize.o stm32_pwr.o stm32_exti_pwr.o arm_allocateheap.o arm_createstack.o arm_exit.o arm_getintstack.o arm_initialize.o arm_lowputs.o arm_modifyreg8.o arm_modifyreg16.o arm_modifyreg32.o arm_nputs.o arm_releasestack.o arm_registerdump.o arm_stackframe.o arm_switchcontext.o arm_usestack.o arm_fork.o arm_mdelay.o arm_udelay.o arm_idle.o arm_busfault.o arm_cache.o arm_cpuinfo.o arm_doirq.o arm_hardfault.o arm_initialstate.o arm_itm.o arm_memfault.o arm_perf.o arm_schedulesigaction.o arm_sigdeliver.o arm_svcall.o arm_systemreset.o arm_tcbinfo.o arm_trigger_irq.o arm_usagefault.o arm_vectors.o arm_dbgmonitor.o
"IN: arch/arm/src/libarch.a -> staging/libarch.a "
install -m 0644 arch/arm/src/libarch.a staging/libarch.a

for dir in  ; do \
	make -s --no-print-directory -C $dir depend || exit; \
done
make -s --no-print-directory -C libs/libxx libxx.a EXTRAFLAGS=""
"CXX:  libcxxmini/libxx_cxa_guard.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_cxa_guard.cxx -o  libxx_cxa_guard.o

"CXX:  libcxxmini/libxx_cxapurevirtual.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_cxapurevirtual.cxx -o  libxx_cxapurevirtual.o

"CXX:  libcxxmini/libxx_delete.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_delete.cxx -o  libxx_delete.o

"CXX:  libcxxmini/libxx_delete_sized.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_delete_sized.cxx -o  libxx_delete_sized.o

"CXX:  libcxxmini/libxx_deletea.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_deletea.cxx -o  libxx_deletea.o

"CXX:  libcxxmini/libxx_deletea_sized.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_deletea_sized.cxx -o  libxx_deletea_sized.o

"CXX:  libcxxmini/libxx_new.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_new.cxx -o  libxx_new.o

"CXX:  libcxxmini/libxx_newa.cxx "
arm-none-eabi-g++ -c -Wno-attributes -Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions -fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include/cxx -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe    libcxxmini/libxx_newa.cxx -o  libxx_newa.o

arm-none-eabi-ar rcs  libxx.a     libxx_cxa_guard.o libxx_cxapurevirtual.o libxx_delete.o libxx_delete_sized.o libxx_deletea.o libxx_deletea_sized.o libxx_new.o libxx_newa.o 
"IN: libs/libxx/libxx.a -> staging/libxx.a "
install -m 0644 libs/libxx/libxx.a staging/libxx.a

make -s --no-print-directory -C /home/ubuntu/test/nuttx/src/apps EXTRAFLAGS=""
make -C /home/ubuntu/test/nuttx/src/apps/builtin all APPDIR="/home/ubuntu/test/nuttx/src/apps"
"CC:  builtin_list.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    builtin_list.c -o  builtin_list.c.home.ubuntu.test.nuttx.src.apps.builtin.o

cp builtin_list.c.home.ubuntu.test.nuttx.src.apps.builtin.o  builtin_list.c.home.ubuntu.test.nuttx.src.apps.builtin_1.o
"CC:  exec_builtin.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    exec_builtin.c -o  exec_builtin.c.home.ubuntu.test.nuttx.src.apps.builtin.o

cp exec_builtin.c.home.ubuntu.test.nuttx.src.apps.builtin.o  exec_builtin.c.home.ubuntu.test.nuttx.src.apps.builtin_1.o
touch .built
:
make -C /home/ubuntu/test/nuttx/src/apps/examples/hello all APPDIR="/home/ubuntu/test/nuttx/src/apps"
"CC:  hello_main.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"  -Dmain=hello_main  hello_main.c -o  hello_main.c.home.ubuntu.test.nuttx.src.apps.examples.hello.o

cp hello_main.c.home.ubuntu.test.nuttx.src.apps.examples.hello.o  hello_main.c.home.ubuntu.test.nuttx.src.apps.examples.hello_1.o
touch .built
:
make -C /home/ubuntu/test/nuttx/src/apps/nshlib all APPDIR="/home/ubuntu/test/nuttx/src/apps"
"CC:  nsh_alias.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_alias.c -o  nsh_alias.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_alias.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_alias.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_builtin.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_builtin.c -o  nsh_builtin.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_builtin.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_builtin.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_command.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_command.c -o  nsh_command.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_command.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_command.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_console.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_console.c -o  nsh_console.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_console.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_console.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_consolemain.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_consolemain.c -o  nsh_consolemain.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_consolemain.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_consolemain.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_dbgcmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_dbgcmds.c -o  nsh_dbgcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_dbgcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_dbgcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_ddcmd.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_ddcmd.c -o  nsh_ddcmd.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_ddcmd.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_ddcmd.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_envcmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_envcmds.c -o  nsh_envcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_envcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_envcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_fscmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_fscmds.c -o  nsh_fscmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_fscmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_fscmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_fsutils.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_fsutils.c -o  nsh_fsutils.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_fsutils.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_fsutils.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_init.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_init.c -o  nsh_init.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_init.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_init.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_mmcmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_mmcmds.c -o  nsh_mmcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_mmcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_mmcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_mntcmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_mntcmds.c -o  nsh_mntcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_mntcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_mntcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_parse.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_parse.c -o  nsh_parse.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_parse.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_parse.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_printf.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_printf.c -o  nsh_printf.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_printf.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_printf.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_proccmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_proccmds.c -o  nsh_proccmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_proccmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_proccmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_prompt.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_prompt.c -o  nsh_prompt.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_prompt.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_prompt.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_script.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_script.c -o  nsh_script.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_script.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_script.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_session.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_session.c -o  nsh_session.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_session.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_session.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_syscmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_syscmds.c -o  nsh_syscmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_syscmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_syscmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_system.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_system.c -o  nsh_system.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_system.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_system.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_test.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_test.c -o  nsh_test.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_test.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_test.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
"CC:  nsh_timcmds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    nsh_timcmds.c -o  nsh_timcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o

cp nsh_timcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib.o  nsh_timcmds.c.home.ubuntu.test.nuttx.src.apps.nshlib_1.o
touch .built
:
make -C /home/ubuntu/test/nuttx/src/apps/platform all APPDIR="/home/ubuntu/test/nuttx/src/apps"
"CC:  board/dummy.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    board/dummy.c -o  dummy.c.home.ubuntu.test.nuttx.src.apps.platform.o

cp dummy.c.home.ubuntu.test.nuttx.src.apps.platform.o  dummy.c.home.ubuntu.test.nuttx.src.apps.platform_1.o
touch .built
:
make -C /home/ubuntu/test/nuttx/src/apps/system/nsh all APPDIR="/home/ubuntu/test/nuttx/src/apps"
"CC:  nsh_main.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"  -Dmain=nsh_main  nsh_main.c -o  nsh_main.c.home.ubuntu.test.nuttx.src.apps.system.nsh.o

cp nsh_main.c.home.ubuntu.test.nuttx.src.apps.system.nsh.o  nsh_main.c.home.ubuntu.test.nuttx.src.apps.system.nsh_1.o
"CC:  sh_main.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"  -Dmain=sh_main  sh_main.c -o  sh_main.c.home.ubuntu.test.nuttx.src.apps.system.nsh.o

cp sh_main.c.home.ubuntu.test.nuttx.src.apps.system.nsh.o  sh_main.c.home.ubuntu.test.nuttx.src.apps.system.nsh_1.o
touch .built
:
make -C /home/ubuntu/test/nuttx/src/apps/system/readline all APPDIR="/home/ubuntu/test/nuttx/src/apps"
"CC:  readline.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    readline.c -o  readline.c.home.ubuntu.test.nuttx.src.apps.system.readline.o

cp readline.c.home.ubuntu.test.nuttx.src.apps.system.readline.o  readline.c.home.ubuntu.test.nuttx.src.apps.system.readline_1.o
"CC:  readline_common.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    readline_common.c -o  readline_common.c.home.ubuntu.test.nuttx.src.apps.system.readline.o

cp readline_common.c.home.ubuntu.test.nuttx.src.apps.system.readline.o  readline_common.c.home.ubuntu.test.nuttx.src.apps.system.readline_1.o
"CC:  readline_fd.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    readline_fd.c -o  readline_fd.c.home.ubuntu.test.nuttx.src.apps.system.readline.o

cp readline_fd.c.home.ubuntu.test.nuttx.src.apps.system.readline.o  readline_fd.c.home.ubuntu.test.nuttx.src.apps.system.readline_1.o
"CC:  readline_stream.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG  -pipe -I "/home/ubuntu/test/nuttx/src/apps/include"    readline_stream.c -o  readline_stream.c.home.ubuntu.test.nuttx.src.apps.system.readline.o

cp readline_stream.c.home.ubuntu.test.nuttx.src.apps.system.readline.o  readline_stream.c.home.ubuntu.test.nuttx.src.apps.system.readline_1.o
touch .built
:
"IN: /home/ubuntu/test/nuttx/src/apps/libapps.a -> staging/libapps.a "
install -m 0644 /home/ubuntu/test/nuttx/src/apps/libapps.a staging/libapps.a

make -s --no-print-directory -C fs libfs.a EXTRAFLAGS="-D__KERNEL__ "
"CC:  fs_initialize.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/fs -I /home/ubuntu/test/nuttx/src/nuttx/sched    fs_initialize.c -o  fs_initialize.o

"CC:  inode/fs_files.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/fs -I /home/ubuntu/test/nuttx/src/nuttx/sched    inode/fs_files.c -o  fs_files.o
......
"CC:  procfs/fs_procfsversion.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/fs -I /home/ubuntu/test/nuttx/src/nuttx/sched    procfs/fs_procfsversion.c -o  fs_procfsversion.o

arm-none-eabi-ar rcs  libfs.a    fs_initialize.o fs_files.o fs_foreachinode.o fs_inode.o fs_inodeaddref.o fs_inodebasename.o fs_inodefind.o fs_inodefree.o fs_inodegetpath.o fs_inoderelease.o fs_inoderemove.o fs_inodereserve.o fs_inodesearch.o fs_chstat.o fs_close.o fs_dup.o fs_dup2.o fs_fcntl.o fs_epoll.o fs_fchstat.o fs_fstat.o fs_fstatfs.o fs_ioctl.o fs_lseek.o fs_mkdir.o fs_open.o fs_poll.o fs_pread.o fs_pwrite.o fs_read.o fs_rename.o fs_rmdir.o fs_select.o fs_sendfile.o fs_stat.o fs_statfs.o fs_unlink.o fs_write.o fs_dir.o fs_fsync.o fs_syncfs.o fs_truncate.o fs_link.o fs_symlink.o fs_readlink.o fs_registerdriver.o fs_unregisterdriver.o fs_registerpipedriver.o fs_unregisterpipedriver.o fs_registerblockdriver.o fs_unregisterblockdriver.o fs_findblockdriver.o fs_openblockdriver.o fs_closeblockdriver.o fs_blockpartition.o fs_findmtddriver.o fs_closemtddriver.o fs_mmap.o fs_munmap.o fs_mmisc.o fs_anonmap.o mq_open.o mq_close.o mq_unlink.o fs_mount.o fs_umount2.o fs_foreachmountpoint.o fs_procfs_mount.o fs_gettype.o fs_partition.o fs_procfs.o fs_procfscpuinfo.o fs_procfscpuload.o fs_procfscritmon.o fs_procfsfdt.o fs_procfsiobinfo.o fs_procfsmeminfo.o fs_procfsproc.o fs_procfstcbinfo.o fs_procfsuptime.o fs_procfsutil.o fs_procfsversion.o
"IN: fs/libfs.a -> staging/libfs.a "
install -m 0644 fs/libfs.a staging/libfs.a

make -s --no-print-directory -C binfmt libbinfmt.a EXTRAFLAGS="-D__KERNEL__ "
"CC:  binfmt_globals.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_globals.c -o  binfmt_globals.o

"CC:  binfmt_initialize.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_initialize.c -o  binfmt_initialize.o

"CC:  binfmt_register.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_register.c -o  binfmt_register.o

"CC:  binfmt_unregister.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_unregister.c -o  binfmt_unregister.o

"CC:  binfmt_loadmodule.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_loadmodule.c -o  binfmt_loadmodule.o

"CC:  binfmt_unloadmodule.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_unloadmodule.c -o  binfmt_unloadmodule.o

"CC:  binfmt_execmodule.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_execmodule.c -o  binfmt_execmodule.o

"CC:  binfmt_exec.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_exec.c -o  binfmt_exec.o

"CC:  binfmt_copyargv.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_copyargv.c -o  binfmt_copyargv.o

"CC:  binfmt_copyactions.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_copyactions.c -o  binfmt_copyactions.o

"CC:  binfmt_dumpmodule.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_dumpmodule.c -o  binfmt_dumpmodule.o

"CC:  binfmt_coredump.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    binfmt_coredump.c -o  binfmt_coredump.o

"CC:  builtin.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/sched    builtin.c -o  builtin.o

arm-none-eabi-ar rcs  libbinfmt.a    binfmt_globals.o binfmt_initialize.o binfmt_register.o binfmt_unregister.o binfmt_loadmodule.o binfmt_unloadmodule.o binfmt_execmodule.o binfmt_exec.o binfmt_copyargv.o binfmt_copyactions.o binfmt_dumpmodule.o binfmt_coredump.o builtin.o
"IN: binfmt/libbinfmt.a -> staging/libbinfmt.a "
install -m 0644 binfmt/libbinfmt.a staging/libbinfmt.a

make -s --no-print-directory -C arch/arm/src EXTRA_OBJS="" LINKLIBS="libsched.a libdrivers.a libboards.a libc.a libmm.a libarch.a libxx.a libapps.a libfs.a libbinfmt.a" APPDIR="/home/ubuntu/test/nuttx/src/apps" EXTRAFLAGS="-D__KERNEL__ " nuttx
make -C board libboard.a EXTRAFLAGS="-D__KERNEL__ "
"CC:  board/stm32_boot.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/board -I "/home/ubuntu/test/nuttx/src/nuttx/sched" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m" -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/include    board/stm32_boot.c -o  stm32_boot.o

"CC:  board/stm32_bringup.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/board -I "/home/ubuntu/test/nuttx/src/nuttx/sched" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m" -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/include    board/stm32_bringup.c -o  stm32_bringup.o

"CC:  board/stm32_spi.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/board -I "/home/ubuntu/test/nuttx/src/nuttx/sched" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m" -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/include    board/stm32_spi.c -o  stm32_spi.o

"CC:  board/stm32_autoleds.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/board -I "/home/ubuntu/test/nuttx/src/nuttx/sched" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m" -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/include    board/stm32_autoleds.c -o  stm32_autoleds.o

"CC:  board/stm32_buttons.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/board -I "/home/ubuntu/test/nuttx/src/nuttx/sched" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m" -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/include    board/stm32_buttons.c -o  stm32_buttons.o

"CC:  board/stm32_appinit.c "
arm-none-eabi-gcc -c -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -Os -fno-strict-aliasing -fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -mlittle-endian -march=armv7e-m -mtune=cortex-m4 -mfloat-abi=soft -mfloat-abi=soft -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -isystem /home/ubuntu/test/nuttx/src/nuttx/include -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/board -I "/home/ubuntu/test/nuttx/src/nuttx/sched" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common" -I "/home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m" -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board/include    board/stm32_appinit.c -o  stm32_appinit.o

arm-none-eabi-ar rcs  libboard.a    stm32_boot.o stm32_bringup.o stm32_spi.o stm32_autoleds.o stm32_buttons.o stm32_appinit.o 
"CPP:  /home/ubuntu/test/nuttx/src/nuttx/boards/arm/stm32/stm32f4discovery/scripts/ld.script-> /home/ubuntu/test/nuttx/src/nuttx/boards/arm/stm32/stm32f4discovery/scripts/ld.script.tmp "
arm-none-eabi-gcc -E -P -x c -isystem /home/ubuntu/test/nuttx/src/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__  -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/chip -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/common -I /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/armv7-m -I /home/ubuntu/test/nuttx/src/nuttx/sched   /home/ubuntu/test/nuttx/src/nuttx/boards/arm/stm32/stm32f4discovery/scripts/ld.script -o  /home/ubuntu/test/nuttx/src/nuttx/boards/arm/stm32/stm32f4discovery/scripts/ld.script.tmp

echo "LD: nuttx"
arm-none-eabi-ld --entry=__start -nostdlib --gc-sections --cref -Map=/home/ubuntu/test/nuttx/src/nuttx/nuttx.map -T/home/ubuntu/test/nuttx/src/nuttx/boards/arm/stm32/stm32f4discovery/scripts/ld.script.tmp  -L /home/ubuntu/test/nuttx/src/nuttx/staging -L /home/ubuntu/test/nuttx/src/nuttx/arch/arm/src/board  \
	-o /home/ubuntu/test/nuttx/src/nuttx/nuttx   \
	--start-group -lsched -ldrivers -lboards -lc -lmm -larch -lxx -lapps -lfs -lbinfmt -lboard /usr/lib/gcc/arm-none-eabi/10.3.1/thumb/v7e-m/nofp/libgcc.a /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/lib/thumb/v7e-m/nofp/libm.a --end-group
arm-none-eabi-nm /home/ubuntu/test/nuttx/src/nuttx/nuttx | \
grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | \
sort > /home/ubuntu/test/nuttx/src/nuttx/System.map
rm -f  /home/ubuntu/test/nuttx/src/nuttx/boards/arm/stm32/stm32f4discovery/scripts/ld.script.tmp
if [ -w /tftpboot ] ; then \
	cp -f nuttx /tftpboot/nuttx.arm; \
fi
echo nuttx > nuttx.manifest
printf "%s\n" *.map >> nuttx.manifest
echo "CP: nuttx.hex"
arm-none-eabi-objcopy  -O ihex nuttx nuttx.hex
echo nuttx.hex >> nuttx.manifest
echo "CP: nuttx.bin"
arm-none-eabi-objcopy  -O binary nuttx nuttx.bin
echo nuttx.bin >> nuttx.manifest

常见报错及解决

以下是常见报错及解决办法:

系统无法找到名为 "kconfig-mconf" 的命令,导致在执行 make 命令中的 menuconfig 目标时出现了错误。一般来说,"kconfig-mconf" 命令用于启动 Linux 内核配置工具(通常为基于文本的菜单式界面),允许用户交互式地配置内核选项。缺少依赖导致,需在线安装libncurses5-dev,gperf, flex bison组件。

sudo apt-get install gperf libncurses5-dev flex bison

说明:

Libncurses库用于在终端显示文本界面。典型应用场景为编译linux内核时make menuconfig配置界面,flex与bison在编译和汇编过程中用到,用于读取源代码并且获得程序的结构描述和分析程序结构,并且生成相应的目标代码。

工具kconfig-frontends的安装:

(ubuntu20系统可以直接apt install 的方式安装。)

git clone https://bitbucket.org/nuttx/tools.git
$ cd tools/kconfig-frontends
$ # on MacOS do the following:
$ patch < ../kconfig-macos.diff -p 1
$ ./configure --enable-mconf --disable-shared --enable-static --disable-gconf --disable-qconf --disable-nconf
$ # on Linux do the following:
$ ./configure --enable-mconf --disable-nconf --disable-gconf --disable-qconf
$ make
$ make install

更简单的办法,ubuntu20系统可以通过以下命令安装:

sudo apt install kconfig-frontends

 说明:
如果不安装kconfig-frontends组件,执行make menuconfig会提示kconfig-mconf无法找到的错误,

这是因为本机器上的aclocal版本过高(1.16>1.15),于是想到有两个解决办法:
1.修改configure文件里对aclocal版本的版本号。
2.在本机安装aclocal-1.15

最简单的方法:

首先用aclocal --version命令获取本机版本,然后去改configure文件,用vim打开configure,查找am__api_version,发现版本号如下:

am__api_version='1.15'

把am__api_version改成本机aclocal版本

am__api_version='1.16'

配置运行环境

cd ../    //回到nuttx源码根目录

sudo make menuconfig

报错信息:

报错解决:

提示的很明显,找不到apps目录下的Kconfig文件,那就建一个。内容如下:

config EXAMPLES_TEST_20240414
        bool "test_program"
        default n
        ---help---
                Enable the test example, written by yyz

最后,sudo make menuconfig终于成功的看到如下配置界面: 

本以为大功告成,结果编译报错,如下: 

这个原因真不好找, 好在在这里找到了答案:Failed to Build with Custom Apps Directory · Issue #11442 · apache/nuttx · GitHub

其实原因是apps里的文件写法或配置有问题。正常的执行是这样:

root@VM-8-2-ubuntu:/home/ubuntu/test/nuttx/src/nuttx# ./tools/configure.sh -l sim:minibasic
  Copy files
  Select CONFIG_HOST_LINUX=y
  Refreshing...
CP: arch/dummy/Kconfig to /home/ubuntu/test/nuttx/src/nuttx/arch/dummy/dummy_kconfig
CP: boards/dummy/Kconfig to /home/ubuntu/test/nuttx/src/nuttx/boards/dummy/dummy_kconfig
LN: platform/board to /home/ubuntu/test/nuttx/src/apps/platform/dummy
LN: include/arch to arch/sim/include
LN: include/arch/board to /home/ubuntu/test/nuttx/src/nuttx/boards/sim/sim/sim/include
LN: drivers/platform to /home/ubuntu/test/nuttx/src/nuttx/drivers/dummy
LN: include/arch/chip to /home/ubuntu/test/nuttx/src/nuttx/arch/sim/include/sim
LN: arch/sim/src/chip to /home/ubuntu/test/nuttx/src/nuttx/arch/sim/src/sim
LN: arch/sim/src/board to /home/ubuntu/test/nuttx/src/nuttx/boards/sim/sim/sim/src
mkkconfig in /home/ubuntu/test/nuttx/src/apps/audioutils
mkkconfig in /home/ubuntu/test/nuttx/src/apps/benchmarks
mkkconfig in /home/ubuntu/test/nuttx/src/apps/boot
mkkconfig in /home/ubuntu/test/nuttx/src/apps/canutils
mkkconfig in /home/ubuntu/test/nuttx/src/apps/crypto
mkkconfig in /home/ubuntu/test/nuttx/src/apps/dummy
mkkconfig in /home/ubuntu/test/nuttx/src/apps/examples/mcuboot
mkkconfig in /home/ubuntu/test/nuttx/src/apps/examples
mkkconfig in /home/ubuntu/test/nuttx/src/apps/fsutils
mkkconfig in /home/ubuntu/test/nuttx/src/apps/games
mkkconfig in /home/ubuntu/test/nuttx/src/apps/gpsutils
mkkconfig in /home/ubuntu/test/nuttx/src/apps/graphics
mkkconfig in /home/ubuntu/test/nuttx/src/apps/industry
mkkconfig in /home/ubuntu/test/nuttx/src/apps/interpreters/luamodules
mkkconfig in /home/ubuntu/test/nuttx/src/apps/interpreters
mkkconfig in /home/ubuntu/test/nuttx/src/apps/logging
mkkconfig in /home/ubuntu/test/nuttx/src/apps/lte
mkkconfig in /home/ubuntu/test/nuttx/src/apps/math
mkkconfig in /home/ubuntu/test/nuttx/src/apps/mlearning
mkkconfig in /home/ubuntu/test/nuttx/src/apps/netutils
mkkconfig in /home/ubuntu/test/nuttx/src/apps/sdr
mkkconfig in /home/ubuntu/test/nuttx/src/apps/system
mkkconfig in /home/ubuntu/test/nuttx/src/apps/testing
mkkconfig in /home/ubuntu/test/nuttx/src/apps/wireless/bluetooth
mkkconfig in /home/ubuntu/test/nuttx/src/apps/wireless/ieee802154
mkkconfig in /home/ubuntu/test/nuttx/src/apps/wireless
mkkconfig in /home/ubuntu/test/nuttx/src/libraries
mkkconfig in /home/ubuntu/test/nuttx/src/projects
mkkconfig in /home/ubuntu/test/nuttx/src/apps
#
# configuration written to .config
#

最后成功编译并生成了Nuttx可执行文件。至此,环境准备就绪,且在ubuntu20上的模拟器运行成功,接下来的目标是imx6ul开发板上的移植工作啦。 

其他资源

NuttX:如何移植新板件到NuttX/如何修改底层驱动_keil移植nuttx-CSDN博客

NUTTx移植到飞控板_nuttx移植stm32f446-CSDN博客

Compiling with Make — NuttX latest documentation

ubuntu14.04 nuttx开发环境的搭建_kconfig-mconf: not found-CSDN博客

2.2NuttX环境搭建-编译环境安装 - 知乎

Nuttx学习入门-CSDN博客

Nuttx操作系统(四):系统架构 - 知乎

ubuntu下Nuttx OS调试环境搭建--Apple的学习笔记 - 简书

https://blog.51cto.com/u_15899439/5909170

Xiaomi Vela - 小米物联网嵌入式软件平台

百度安全验证

百度安全验证

https://www.techsir.com/a/202011/68424.html

小米澎湃OS的自研Vela系统是何方神圣?相较于鸿蒙系统差距有多大 - 哈喽生活网

对标鸿蒙?小米推出物联网软件平台小米Vela 可打通IoT应用 - 科技先生

https://blog.51cto.com/u_15899439/5909170

Linux之父的自传《Just For Fun》到底说了些什么? - 掘金

《Just for fun》-Linux之父Linus的传奇人生 - 知乎

Nuttx操作系统(三):构建模式 - 知乎

Nuttx操作系统 - 知乎

NuttX学习2 - 简书

​nuttx在riscv的qemu上运行体验-腾讯云开发者社区-腾讯云

NuttX 快速上手:在 ESP32 上运行 SQLite_哔哩哔哩_bilibili

GitHub - espressif/crosstool-NG: crosstool-NG with support for Xtensa

GitHub - Gary-Hobson/NXOS: 一个用于简化基于 NuttX 的应用开发的仓库

各版本arm-gcc区别与安装_arm gcc-CSDN博客

NuttX的学习笔记 4_nxflat toolchain-CSDN博客

https://www.cnblogs.com/gcczhongduan/p/4805008.html

AcmeIot-2-基于PX4硬件的Nuttx开发环境 - 知乎

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

特立独行的猫a

您的鼓励是我的创作动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值