diff --git a/components/freertos/CMakeLists.txt b/components/freertos/CMakeLists.txt index f8e3141670..ec244fc76b 100644 --- a/components/freertos/CMakeLists.txt +++ b/components/freertos/CMakeLists.txt @@ -59,7 +59,7 @@ else() "${kernel_dir}/portable/${arch}/portasm.S") list(APPEND private_include_dirs - "esp_additions/private_include") # For include "freertos_tasks_c_additions.h" + "esp_additions") # For #include "freertos_tasks_c_additions.h" if(CONFIG_FREERTOS_SMP) set(ldfragments linker_smp.lf linker_common.lf) diff --git a/components/freertos/esp_additions/private_include/freertos_tasks_c_additions.h b/components/freertos/esp_additions/freertos_tasks_c_additions.h similarity index 98% rename from components/freertos/esp_additions/private_include/freertos_tasks_c_additions.h rename to components/freertos/esp_additions/freertos_tasks_c_additions.h index bc43cabdcd..526581d3bd 100644 --- a/components/freertos/esp_additions/private_include/freertos_tasks_c_additions.h +++ b/components/freertos/esp_additions/freertos_tasks_c_additions.h @@ -10,12 +10,11 @@ #include "idf_additions_inc.h" /** - * This file will be included in `tasks.c` file, thus, it must NOT be included - * by any (other) file. - * The functions below only consist in getters for the static variables in - * `tasks.c` file. - * The only source files that should call these functions are the ones in - * `/additions` directory. + * This file will be included in `tasks.c` file, thus, it is treated as a source + * file instead of a header file, and must NOT be included by any (other) file. + * This file is used to add additional functions to `tasks.c`. See the + * `esp_additions/include` directory of the headers that expose these `tasks.c` + * additional API. */ /* ----------------------------------------------------- Newlib --------------------------------------------------------