mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
57eb41ce83
Previously, TLSP deletion callbacks were... - Stored in a seprate TCB member "pvThreadLocalStoragePointersDelCallback" - Called separately via multipole prvDeleteTLS() insertions in tasks.c This commit refactors how TLSP deletion callbacks are stored and called: - TLSP deletion callbacks are now stored in "pvThreadLocalStoragePointers" directly. configNUM_THREAD_LOCAL_STORAGE_POINTERS is doubled in size so that the deletion callbacks are stored in the latter half of the array - The callbacks are now called via "portCLEAN_UP_TCB()". As such, the prvDeleteTLS() additions are no longer needed and the function can be removed - Removed some legacy TLSP tests using the old method of storing the callback pointers. This commit reduces the source code diff between IDF FreeRTOS and upstream vanilla FreeRTOS, in preparation for v10.5.1 upgrade. |
||
---|---|---|
.. | ||
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