也许LiteOS算是一个废弃的项目了吧,有点当年谷歌的意思,很多东西发现不赚钱就砍了。
后续应该是改为OpenHarmony这个项目 :kernel_liteos_m: LiteOS kernel for devices with few resources, such as the MCU | 实用于MCU等各种资源极小设备的LiteOS内核
OpenHarmony LiteOS-M内核的编译构建系统是一个基于gn和ninja的组件化构建系统,支持按组件配置、裁剪和拼装,按需构建出定制化的产品。
但是OpenHarmony kernel_liteos_m这个项目没找到编译阐明文档,明明看到.gn文件,就是不知道该怎么编译。 以后再去尝试。
调试
cmake加上IDF_TARGET=esp32c3参数报错
cmake .. -D IDF_TARGET=esp32c3
CMake Error at /home/skywalk/esp32/esp-idf/tools/cmake/targets.cmake:108 (message):
Target 'esp32' in sdkconfig '/home/skywalk/esp32/esp-idf/examples/get-started/hello_world/sdkconfig' does not match currently selected IDF_TARGET 'esp32c3'. To change the target, clear the build directory and sdkconfig file, and build the project again.
Call Stack (most recent call first):
/home/skywalk/esp32/esp-idf/tools/cmake/project.cmake:24 (__target_init)
CMakeLists.txt:5 (include)
寻求支持esp32c3的可能,但是官方只更新到3年前,没有esp32c3的配置文件,实践闭幕。