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> |
||
---|---|---|
.. | ||
main | ||
CMakeLists.txt | ||
partitions.csv | ||
pytest_fatfs_flash_ro.py | ||
README.md | ||
sdkconfig.defaults |
Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
---|
This test app runs a few FATFS test cases in a read-only FAT partition.
These tests should be possible to run on any ESP development board, not extra hardware is necessary.
The initial FAT image is generated during the build process in main/CMakeLists.txt:
create_test_files
function creates a set of files expected by the test casesfatfs_create_rawflash_image
generates a FAT image from the set of files (viafatfsgen.py
)
The generated FAT image is flashed into storage
partition when running idf.py flash
.
See ../README.md for more information about FATFS test apps.