Merge branch 'feature/gdb_stub_task_state' into 'master'
feature/gdb_stub: make task state available on info thread command when in gdb stub. Closes IDF-720 See merge request espressif/esp-idf!8371
This commit is contained in:
@@ -27,6 +27,9 @@ TEST_CASE("Tasks snapshot", "[freertos]")
|
||||
esp_cpu_stall(other_core_id);
|
||||
#endif
|
||||
UBaseType_t task_num = uxTaskGetSnapshotAll(tasks, TEST_MAX_TASKS_NUM, &tcb_sz);
|
||||
for (uint32_t i = 0; i < task_num; i++) {
|
||||
TEST_ASSERT_EQUAL(tasks[i].eState, eTaskGetState(tasks[i].pxTCB));
|
||||
}
|
||||
#ifndef CONFIG_FREERTOS_UNICORE
|
||||
esp_cpu_unstall(other_core_id);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user