FreeRTOS

Task/Thread Analysis and Visualization

FreeRTOS Support

jtag_debugging_for_esp32_en.pdf
OpenOCD has explicit support for the ESP-IDF FreeRTOS; FreeRTOS detection can be disabled in esp32.conf. When enabled, gdb can see FreeRTOS tasks as threads. Viewing them all can be done using the gdb i threads command; changing to a certain task is done with thread x, with x being the number of the thread. All threads can be switched to except for a thread actually running on the other CPU; please see the following section ESP32 Quirks for more information

Adding FreeRTOS Thread Awareness to GDB and Eclipse
FreeRTOS Thread Debugging with Eclipse and OpenOCD
FreeRTOS ARM Thread Debugging with Eclipse and GDB
Segger SystemView: Realtime Analysis and Visualization for FreeRTOS

Non-Free

FreeRTOS+Trace

API Reference

Task Creation

esp-idf/components/freertos/readme_smp.txt
xTaskCreate

RTOS Kernel Control

Kernel Control
taskENTER_CRITICAL()

Queue Management

xQueueReceive

Event Groups

xEventGroupWaitBits()

Leave a Reply

Your email address will not be published. Required fields are marked *