Ubuntu 1404 搭建 nuttx 开发环境
程序员文章站
2024-01-23 18:30:22
...
- 构建ardupilot开发环境
sudo apt-get install git-all gawk cmake
git clone --branch Copter-3.5.1-rc1 https://github.com/diydrones/ardupilot.git
ardupilot/Tools/scripts/install-prereqs-ubuntu.sh -y
source ~/.profile
- 获取nuttx系统源码
git clone --branch nuttx-7.30 https://bitbucket.org/nuttx/nuttx.git
git clone --branch nuttx-7.30 https://bitbucket.org/nuttx/apps.git
git clone https://bitbucket.org/nuttx/tools.git
- 编译工具kconfig-frontends
cd tools/kconfig-frontends/
./configure --enable-mconf
make
sudo make install
sudo echo 'include /usr/local/lib' >> /etc/ls.so.conf
sudo ldconfig
上一篇: linux与unix时间戳互转
下一篇: 设备树常用的OF操作函数