乐鑫技术交流
直播中

张虎豹

7年用户 1516经验值
私信 关注
[问答]

openthread组件使用源代码编译出错是怎么回事?

使用IDFv4.4版本.

芯片是ESP32.

编译平台是windows.

编译openthread的ot_cil例程.



使用默认配置可以正常编译,但是openthread使用源代码编译(在menuconfig里使能Build esp_openthread libraries from source)的形式再编译ot_cil的话会报错:

CMake Error at ../../../tools/cmake/component.cmake:369 (__component_get_property):

  __component_get_property Function invoked with incorrect arguments for

  function named: __component_get_property

Call Stack (most recent call first):

  ../../../components/openthread/CMakeLists.txt:52 (idf_component_get_property)



另外还一个不清楚是不是我操作问题,每次我menuconfig里修改了这个Build esp_openthread libraries from source后,工程默认是按ESP32-H2编译的,就算之前我用idf.py set-target esp32也会被覆盖.

更多回帖

发帖
×
20
完善资料,
赚取积分