Explorar o código

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

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
fe251d1ed4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)