FreeRTOS SMP

derricksenva
Posts: 21
Joined: Tue Aug 02, 2022 8:19 pm

FreeRTOS SMP

Postby derricksenva » Thu Jan 05, 2023 11:03 pm

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 3027 times

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: FreeRTOS SMP

Postby ESP_Dazz » Fri Jan 06, 2023 6:47 am

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.

Who is online

Users browsing this forum: Baidu [Spider], Maksim and 135 guests