esp-idf/tools/test_apps/linux_compatible/linux_freertos
fl0wl0w 90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
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>
2024-02-09 09:11:28 +01:00
..
components/kernel_tests feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES 2024-02-09 09:11:28 +01:00
main fix(unity): Fixed memory leaks in unity tests 2023-11-15 09:06:06 +01:00
CMakeLists.txt freertos: Added partial unit tests for Linux simulator 2023-04-25 13:58:57 +08:00
README.md freertos: Added partial unit tests for Linux simulator 2023-04-25 13:58:57 +08:00
pytest_linux_freertos.py ci: increased freertos SMP linux target test timeout 2023-04-28 17:49:37 +08:00
sdkconfig.defaults freertos: Added partial unit tests for Linux simulator 2023-04-25 13:58:57 +08:00

README.md

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