# Nuttx7.17 **Repository Path**: onewayout/Nuttx7.17 ## Basic Information - **Project Name**: Nuttx7.17 - **Description**: Nuttx 7.17 study - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-01-12 - **Last Updated**: 2022-11-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## compile success 2016.7.31 git clone the nuttx repository from the official website. 载apps, 放在同级文件夹中, both checkout nuttx_7.17 checkout 7.17 issue the commands as below: ~~~ cd nuttx make distclean cd tools ./configure.sh sim/nsh cd .. make ~~~ Note the executable file nuttx is hidden (could be seen in terminal by "ls -a"). In terminal, execute: ./nuttx login: admin password: Administrator refer to [here](https://github.com/ros2/ros2_embedded_nuttx/issues/11) ## run example hello: ~~~ mount -t binfs /bin ~~~ may need to set CONFIG_FS_BINFS as false in config files. refer to [this page](http://nuttx.yahoogroups.narkive.com/SBGfhnp5/issues-running-builtin-apps) ## debug install ddd, ~~~ sudo apt-get install ddd ddd nuttx & ~~~ ddd is too old, use nemiver instead, it's awesome. ## setjmp longjmp 仿真时还使用了汇编的up_setjmp, 和up_longjmp函数。 可使用ddd下方窗口输入调试命令,或点击悬浮窗口的各按钮进行各种调试操作。 refer to [this page](https://acassis.wordpress.com/2014/11/01/running-nuttx-in-the-simulator/) ### ddd 奇怪问题 可能由于不正常关闭ddd, 导致启动ddd时一直忙等待,底部状态栏显示:opening session...... 使用如下命令删除: ~/.ddd ,重启ddd,正常。 ~~~ sudo rm -rf ~/.ddd ~~~ ## ddd 使用 mirage1993.blog.51cto.com/2709744/175075623 fork时同时调试父进程和子进程 https://wizardforcel.gitbooks.io/100-gdb-tips/content/set-detach-on-fork.html