欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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
相关标签: 嵌入式开发