sudo apt-get update
sudo apt-get install automake bison build-essential flex gcc-arm-none-eabi gperf git libncurses5-dev libtool libusb-dev libusb-1.0-0-dev minicom
sudo apt-get install gedit
mkdir nuttxspace
cd nuttxspace
git clone http://repo.or.cz/r/openocd.git
cd openocd
./bootstrap
./configure --enable-internal-jimtcl --enable-maintainer-mode --disable-werror --disable-shared --enable-stlink --enable-jlink --enable-rlink --enable-vsllink --enable-ti-icdi --enable-remote-bitbang
make
sudo make install
cd ..
git clone https://bitbucket.org/nuttx/tools
cd tools
cd kconfig-frontends
./configure
make
sudo make install
sudo ldconfig
cd ..
mkdir nuttx-7.7
cd nuttx-7.7
git clone https://github.com/apache/incubator-nuttx-apps
git clone https://github.com/apache/incubator-nuttx
//---rename apps and nuttx
cd nuttx
cd tools
./configure.sh stm32_tiny/nsh
cd ..
make menuconfig
作者: SnailWillow, 来源:面包板社区
链接: https://mbb.eet-china.com/blog/uid-me-3931539.html
版权声明:本文为博主原创,未经本人允许,禁止转载!
curton 2020-12-1 08:09
欢迎点击
论坛> >机器人/工业电子> >工业电子与自动化
https://mbb.eet-china.com/forum/topic/84380_1_1.html
yzw92 2020-12-1 06:28