一:Qt Creator(Ubuntu 16.04 )
1.安装qtcreator
sudo apt-get install qtcreator
2.sudo qtcreator
3.Tools->Options->Build & Run ->Compliers->Add->GCC
Name:GCC
Compiler path:选择编译器所在路径,我的是/home/ly/Downloads/gcc-arm-none-eabi-5_4-2016q2/bin/arm-none-eabi-gcc
其他空。
4.安装调试器:
sduo apt-get install arm-none-eabi-gdb
5.再选择Debuggers标签,Add->弹出窗口选择arm-none-eabi-gdb
6.选择File -> New File or Project ->other project ->import Exising Files
目录选择Nuttx/nuttx 名称nuttx,点next,finish
二:Code::Blocks
油管:https://www.youtube.com/watch?v=KSkv9sOLh4U&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=4&t=91s