Jelajahi Sumber

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

Wendal Chen 2 tahun lalu
induk
melakukan
fe251d1ed4
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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)