mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
freertos: Refactor component structure
This commit refactors the "freertos" component's structure as follows: - "FreeRTOSConfig.h" related files moved to "./config" directory - Refactored CMakeLists.txt file in preparation for v10.5.1 upgrade - Grouped list appends based on component organization - Removed some unecessarily public "include_dirs" - Removed FreeRTOS-openocd.c - uxTopUsedPriority has been added back to tasks.c since v10.4.2 - Thus the workaround in FreeRTOS-openocd.c is no longer needed and can be removed.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "idf_additions.h"
|
||||
#include "freertos/idf_additions.h"
|
||||
#include "esp_private/freertos_idf_additions_priv.h"
|
||||
|
||||
/**
|
||||
@@ -54,7 +54,7 @@ struct _reent *__getreent(void)
|
||||
|
||||
#if CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
|
||||
|
||||
#include "task_snapshot.h"
|
||||
#include "freertos/task_snapshot.h"
|
||||
|
||||
/**
|
||||
* @brief List of all task lists in FreeRTOS
|
||||
@@ -240,7 +240,7 @@ UBaseType_t uxTaskGetSnapshotAll( TaskSnapshot_t * const pxTaskSnapshotArray, co
|
||||
*
|
||||
* ------------------------------------------------------------------------------------------------------------------ */
|
||||
|
||||
#if ( configENABLE_FREERTOS_DEBUG_OCDAWARE == 1 )
|
||||
#if CONFIG_FREERTOS_DEBUG_OCDAWARE
|
||||
|
||||
/**
|
||||
* Debug param indexes. DO NOT change the order. OpenOCD uses the same indexes
|
||||
@@ -270,7 +270,7 @@ const DRAM_ATTR uint8_t FreeRTOS_openocd_params[ESP_FREERTOS_DEBUG_TABLE_END] =
|
||||
offsetof(TCB_t, pcTaskName), /* thread_name_offset; */
|
||||
};
|
||||
|
||||
#endif // configENABLE_FREERTOS_DEBUG_OCDAWARE == 1
|
||||
#endif // CONFIG_FREERTOS_DEBUG_OCDAWARE
|
||||
|
||||
/* -------------------------------------------- FreeRTOS IDF API Additions ---------------------------------------------
|
||||
* FreeRTOS related API that were added by IDF
|
||||
|
Reference in New Issue
Block a user