NuttX的学习笔记 3

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yt454287063/article/details/53167131

README文档目录的第二部分

  • Configuring NuttX
    • Instantiating “Canned” Configurations
    • Refreshing Configurations
    • NuttX Configuration Tool
    • Finding Selections in the Configuration Menus
    • Reveal Hidden Configuration Options
    • Make Sure that You on on the Right Platform
    • Comparing Two Configurations
    • Incompatibilities with Older Configurations
    • NuttX Configuration Tool under DOS

接上篇笔记

  • NuttX Configuration Tool

    make menuconfig

    该指令就是用来配置 .config 文件的,上一个笔记中后面都是在干这个事情。

    If you have an environment that supports the Qt or GTK graphical
    systems (probably KDE or gnome, respectively, or Cygwin under
    Windows with Qt or GTK installed), then you can also build the
    graphical kconfig-frontends, kconfig-qconf and kconfig-gconf. In
    these case, you can start the graphical configurator with either:

    make qconfig

    or

    make gconfig

    看样子需要一些其他东西支持,可以让配置以图形界面显示,先试一下。

    make qconfig

    执行该指令后,出现了图形界面

    图形界面

    这个明显友好很多啊。。。。虽然没有什么本质区别。。

  • Finding Selections in the Configuration Menus

    这个是说寻找某个配置名称。

  • Reveal Hidden Configuration Options

    是说怎么样发现隐藏的配置选项

  • Make Sure that You on on the Right Platform
    确定你在正确的平台上,简单说,就是配置系统环境,使用tools文件夹下的 sethost.sh 配置,注意工作目录要在tools的上级目录中。

    设置环境

  • Comparing Two Configurations
    比较配置,就是比较两个configure文件的区别,多说无益。

    cd nuttx/tools
    make -f Makefile.host

    makefile differ

    编译正常,cmpconfig 这个程序就可以运行了,测试一下:

    ./cmpconfig (后面的目录很长,自己打)
    

    显示差别

    还挺好用,就是这个目录必须是绝对路径,有点麻烦。。

  • Incompatibilities with Older Configurations

    这个大概说的是旧的 kconfig 的问题,我用的是nuttx提供的,应该不存在这个问题吧。。。

  • NuttX Configuration Tool under DOS

    不存在这个问题,跳过。

到这里,Configuring NuttX 就结束了。下一步就是编译工具了。

猜你喜欢

转载自blog.csdn.net/yt454287063/article/details/53167131