mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
90d1dcfd76
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES macros in all of ESP-IDF. These macros are needed to realize an SMP scenario by fetching the number of active cores FreeRTOS is running on. Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES. This new commit is now used to realize an SMP scenario in various places in ESP-IDF. [Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES] Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com> |
||
---|---|---|
.. | ||
components/kernel_tests | ||
main | ||
CMakeLists.txt | ||
pytest_linux_freertos.py | ||
README.md | ||
sdkconfig.defaults |
Supported Targets | Linux |
---|
Simple test application for SMP Linux port
Note that the IDF version of the FreeRTOS POSIX/Linux simulator is not tested here, that one is merely the upstream version.
Build
idf.py --preview set-target linux
Amazon FReeRTOS SMP configuration is already set via sdkconfig.defaults
, no need to configure.
idf.py build
Run
idf.py monitor
After the test output, input: ![ignore]
to not run the ignored test