Merge branch 'bugfix/freertos_smp_cmakelist' into 'master'

freertos: Fix CMakeLists.txt to include esp_additions/private_include

See merge request espressif/esp-idf!17715
pull/8779/head
Darian 2022-04-08 21:35:44 +08:00
commit 59202fe43e
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -42,7 +42,8 @@ if(CONFIG_FREERTOS_SMP)
)
list(APPEND private_include_dirs
"FreeRTOS-Kernel-SMP/include/freertos") # FreeRTOS headers via #include "xxx.h"
"FreeRTOS-Kernel-SMP/include/freertos" # FreeRTOS headers via #include "xxx.h"
"esp_additions/private_include") # For include "freertos_tasks_c_additions.h"
if(CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY)
list(APPEND srcs "FreeRTOS-Kernel-SMP/portable/xtensa/xtensa_loadstore_handler.S")
@ -105,7 +106,7 @@ else()
list(APPEND private_include_dirs
"FreeRTOS-Kernel/include/freertos"
"esp_additions/private_include") # For #include "tasks_test_access_functions.h
"esp_additions/private_include") # For include "freertos_tasks_c_additions.h"
if(CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY)
list(APPEND srcs "FreeRTOS-Kernel/portable/xtensa/xtensa_loadstore_handler.S")