Uploaded November 2018 | Updated September 2026, 3 weeks ago
This video explains how to create a FreeRTOS task, using the ESP32 and the Arduino core.
Update: In the video, it was mentioned that the StackDepth was specified in words, like documented in the FreeRTOS xTaskCreate page. Nonetheless, IDF’s version differs from the original implementation and the stack depth is actually specified in bytes, as indicated in IDF’s documentation: docs.espressif.com/projects/esp-idf/en/latest/api-guides/freertos-smp.html#tasks-and-task-creation
ESP32 FireBeetle board:
dfrobot.com/product-1590.html
FreeRTOS API:
freertos.org/a00106.html
Task priorities:
freertos.org/RTOS-task-priority.html
vTaskDelete:
freertos.org/a00126.html
xTaskCreate:
esp32.info/docs/esp_idf/html/dd/d3c/group__xTaskCreate.html
Related written posts:
Using Free RTOS functions in the Arduino core: techtutorialsx.com/2017/05/06/esp32-arduino-using-freertos-functions
Creating FreeRTOS tasks: techtutorialsx.com/2017/05/06/esp32-arduino-creating-a-task
ESP32 Running code on specific core:
techtutorialsx.com/2017/05/09/esp32-running-code-on-a-specific-core
A lot more ESP32 tutorials:
techtutorialsx.com/category/esp32
This video explains how to create a FreeRTOS task, using the ESP32 and the Arduino core.
Update: In the video, it was mentioned that the StackDepth was specified in words, like documented in the FreeRTOS xTaskCreate page. Nonetheless, IDF’s version differs from the original implementation and the stack depth is actually specified in bytes, as indicated in IDF’s documentation: docs.espressif.com/projects/esp-idf/en/latest/api-guides/freertos-smp.html#tasks-and-task-creation
ESP32 FireBeetle board:
dfrobot.com/product-1590.html
FreeRTOS API:
freertos.org/a00106.html
Task priorities:
freertos.org/RTOS-task-priority.html
vTaskDelete:
freertos.org/a00126.html
xTaskCreate:
esp32.info/docs/esp_idf/html/dd/d3c/group__xTaskCreate.html
Related written posts:
Using Free RTOS functions in the Arduino core: techtutorialsx.com/2017/05/06/esp32-arduino-using-freertos-functions
Creating FreeRTOS tasks: techtutorialsx.com/2017/05/06/esp32-arduino-creating-a-task
ESP32 Running code on specific core:
techtutorialsx.com/2017/05/09/esp32-running-code-on-a-specific-core
A lot more ESP32 tutorials:
techtutorialsx.com/category/esp32










