sudo apt-get update
sudo apt-get install gcc-arm-none-eabi
sudo apt-get install gperf libncurses5-dev flex bison
./configure --prefix=/usr
make
sudo make install
cd /mnt/nx/nuttx/tools
./configure.sh stm32_tiny/nsh
sudo make menuconfig
cp /usr/lib/libkconfig-parser-4.11.0.so lib
(注意:最好在 /usr/lib/libkconfig-parser-4.11.0.so 看看能不能找到)source setenv.sh
make