Page 1 of 1

FreeRTOS SMP

Posted: Thu Jan 05, 2023 11:03 pm
by derricksenva
The documentation for v5.0 seems to imply that the modified FreeRTOS component included with ESP-IDF is designed with SMP built in by default: docs.espressif.com/projects/esp-idf/en/ ... eertos-smp.

But, menuconfig seems to imply that this is optional. In the image below, there is an option to enable SMP that is not enabled by default and also says FEATURE UNDER DEVELOPMENT. Can someone clarify what is correct? Does FreeRTOS run in AMP mode by default, or does the option in menuconfig enable "Vanilla" FreeRTOS SMP instead of the modified ESP-IDF version of FreeRTOS SMP?

2023-01-05 14_58_12-esp-idf_env - python.exe  _C__derrick_workspace_git_esp-idf_tools_idf.py_ menuco.png
2023-01-05 14_58_12-esp-idf_env - python.exe _C__derrick_workspace_git_esp-idf_tools_idf.py_ menuco.png (23.81 KiB) Viewed 3026 times

Re: FreeRTOS SMP

Posted: Fri Jan 06, 2023 6:47 am
by ESP_Dazz
That setting enables Amazon SMP FreeRTOS, an SMP version of FreeRTOS written by Amazon themselves (see docs). If disabled, then IDF FreeRTOS is run instead, this is a modified version of FreeRTOS written by us that also supports SMP.