Merge branch 'refactor/remove_task_snapshot_header_inclusion' into 'master'

FreeRTOS: Remove task_snapshot inclusion from task.h

Closes IDF-3683

See merge request espressif/esp-idf!16224
This commit is contained in:
Omar Chebib 2021-12-24 02:21:28 +00:00
commit a37bf7753a
2 changed files with 5 additions and 4 deletions

View File

@ -3492,10 +3492,6 @@ TaskHandle_t pvTaskIncrementMutexHeldCount( void ) PRIVILEGED_FUNCTION;
*/
void vTaskInternalSetTimeOutState( TimeOut_t * const pxTimeOut ) PRIVILEGED_FUNCTION;
#ifdef ESP_PLATFORM
/* TODO: IDF-3683 */
#include "freertos/task_snapshot.h"
#endif // ESP_PLATFORM
/** @endcond */

View File

@ -33,3 +33,8 @@ The header ``trax.h`` has been made private. ESP-IDF developers should include `
ROM
---
Deprecated ROM related header files from `components/esp32/rom/` (old include path: `rom/*.h`) have been deleted. Please update to use the new target-specific path from `components/esp_rom/include/{IDF_TARGET_NAME}/` (new include path: `{IDF_TARGET_NAME}/rom/*.h`).
Tasks snapshot
--------------
The header ``task_snapshot.h`` has been removed from ``freertos/task.h``. ESP-IDF developers should include ``"freertos/task_snapshot.h``` in case they need tasks snapshot API.