From 7ea0106b3fad5b3c3b980c23971b85792c491aba Mon Sep 17 00:00:00 2001 From: Darian Leung Date: Thu, 7 Apr 2022 23:46:43 +0800 Subject: [PATCH] freertos: Fix CMakeLists.txt to include esp_additions/private_include --- components/freertos/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/freertos/CMakeLists.txt b/components/freertos/CMakeLists.txt index 9ea528a7eb..6008b543e8 100644 --- a/components/freertos/CMakeLists.txt +++ b/components/freertos/CMakeLists.txt @@ -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")