forked from espressif/esp-idf
freertos: Move freertos_tasks_c_additions.h
freertos_tasks_c_additions.h is technically included as source file. This commit removes the "private_include" directory of "freertos_tasks_c_additions.h" and treats it as a source file of "esp_additions".
This commit is contained in:
@@ -59,7 +59,7 @@ else()
|
|||||||
"${kernel_dir}/portable/${arch}/portasm.S")
|
"${kernel_dir}/portable/${arch}/portasm.S")
|
||||||
|
|
||||||
list(APPEND private_include_dirs
|
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)
|
if(CONFIG_FREERTOS_SMP)
|
||||||
set(ldfragments linker_smp.lf linker_common.lf)
|
set(ldfragments linker_smp.lf linker_common.lf)
|
||||||
|
@@ -10,12 +10,11 @@
|
|||||||
#include "idf_additions_inc.h"
|
#include "idf_additions_inc.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This file will be included in `tasks.c` file, thus, it must NOT be included
|
* This file will be included in `tasks.c` file, thus, it is treated as a source
|
||||||
* by any (other) file.
|
* file instead of a header file, and must NOT be included by any (other) file.
|
||||||
* The functions below only consist in getters for the static variables in
|
* This file is used to add additional functions to `tasks.c`. See the
|
||||||
* `tasks.c` file.
|
* `esp_additions/include` directory of the headers that expose these `tasks.c`
|
||||||
* The only source files that should call these functions are the ones in
|
* additional API.
|
||||||
* `/additions` directory.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* ----------------------------------------------------- Newlib --------------------------------------------------------
|
/* ----------------------------------------------------- Newlib --------------------------------------------------------
|
Reference in New Issue
Block a user