list_rtos_tasks
List all FreeRTOS tasks with state, priority, and stack usage. Walks RTOS task lists and reads TCB fields to provide task enumeration.
Instructions
List all FreeRTOS tasks with state, priority, and stack usage.
Walks pxReadyTasksLists, xDelayedTaskList*, and xSuspendedTaskList to enumerate all tasks. Reads TCB fields: name, priority, stack base, stack top pointer.
max_priorities: upper bound for scanning pxReadyTasksLists (default 32). task_name_len: configMAX_TASK_NAME_LEN in your FreeRTOS build (default 16). Requires ELF loaded and probe connected with target halted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_name_len | No | ||
| max_priorities | No |