mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
change(freertos): add task count and pointer width to OpenOCD debug table
This commit is contained in:
@@ -1123,6 +1123,8 @@ void * pvTaskGetCurrentTCBForCore( BaseType_t xCoreID )
|
||||
ESP_FREERTOS_DEBUG_LIST_END_PREV,
|
||||
ESP_FREERTOS_DEBUG_LIST_ITEM_PREV,
|
||||
ESP_FREERTOS_DEBUG_LIST_ITEM_OWNER,
|
||||
ESP_FREERTOS_DEBUG_TASK_COUNT_WIDTH,
|
||||
ESP_FREERTOS_DEBUG_PTR_WIDTH,
|
||||
/* New entries must be inserted here */
|
||||
ESP_FREERTOS_DEBUG_TABLE_END,
|
||||
};
|
||||
@@ -1142,7 +1144,9 @@ void * pvTaskGetCurrentTCBForCore( BaseType_t xCoreID )
|
||||
offsetof( List_t, xListEnd ), /* list_end_offset */
|
||||
offsetof( List_t, xListEnd.pxPrevious ), /* list_next_offset */
|
||||
offsetof( ListItem_t, pxPrevious ), /* list_elem_next_offset */
|
||||
offsetof( ListItem_t, pvOwner ) /* list_elem_content_offset */
|
||||
offsetof( ListItem_t, pvOwner ), /* list_elem_content_offset */
|
||||
sizeof( UBaseType_t ), /* task_count_width */
|
||||
sizeof( void * ) /* ptr_width */
|
||||
};
|
||||
|
||||
#endif /* CONFIG_FREERTOS_DEBUG_OCDAWARE */
|
||||
|
||||
Reference in New Issue
Block a user