nRF Connect SDK开发之(2)编译一个例程
一、添加编译的toolchain路径失败,提示如下
• ️❗️ gperf is required but not found. Make sure the "gperf" executable is in your PATH.
• ️❗️ dtc is required but not found. Make sure the "dtc.exe" executable is in your PATH.
出这种问题主要是因为Toolchain未正确安装导致的,重新尝试安装Toolchain即可。
二、编译nrf_desktop应用时报错:
error: '__device_dts_ord_118' undeclared here (not in a function); did you mean '__device_dts_ord_138'?
出现这个错误是因为没有匹配到这个板子的dts设备树,即C:\ncs\v3.0.0\nrf\boards\nordic文件夹下没有编译工程对应的板级配置