mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-10 00:42:48 +00:00
refactor(freertos/idf): Move IDF task utility functions to API addition headers
This commit combines various task utility API additions in IDF FreeRTOS and with their Amazon SMP FreeRTOS addition counterparts. The folloiwng functions have been moved to freertos_tasks_c_additions.h and idf_additions.h as these API are considered public: - xTaskGetCurrentTaskHandleForCPU() - xTaskGetIdleTaskHandleForCPU() - xTaskGetAffinity() - pxTaskGetStackStart() Also fixed in missing #if macros when vTaskCoreAffinityGet() is called in Amazon SMP FreerTOS tests.
This commit is contained in:
@@ -198,8 +198,6 @@
|
||||
#define INCLUDE_xTaskResumeFromISR 1
|
||||
#define INCLUDE_xTimerPendFunctionCall 1
|
||||
#define INCLUDE_xTaskGetSchedulerState 1
|
||||
/* Unlisted */
|
||||
#define INCLUDE_pxTaskGetStackStart 1
|
||||
|
||||
/* -------------------- Trace Macros ----------------------- */
|
||||
|
||||
|
Reference in New Issue
Block a user