瀏覽代碼

add: 调整全局宏,适配主库对rtos/freertos的修改

Wendal Chen 2 年之前
父節點
當前提交
fe251d1ed4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      luatos/CMakeLists.txt

+ 1 - 0
luatos/CMakeLists.txt

@@ -14,6 +14,7 @@ idf_component_optional_requires(PRIVATE esp_psram)
 project(luatos)
 
 idf_build_set_property(COMPILE_OPTIONS "-D__LUATOS__=1" APPEND)
+idf_build_set_property(COMPILE_OPTIONS "-DLUAT_FREERTOS_FULL_INCLUDE=1" APPEND)
 
 idf_build_get_property(config_json SDKCONFIG_JSON)