Browse Source

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
Omar Chebib 4 năm trước cách đây
mục cha
commit
a37bf7753a

+ 0 - 4
components/freertos/FreeRTOS-Kernel/include/freertos/task.h

@@ -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 */
 

+ 5 - 0
docs/en/migration-guides/system.rst

@@ -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.