esp-idf/components/fatfs/test_apps/flash_ro
2024-04-17 10:37:31 +02:00
..
main feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES 2024-02-09 09:11:28 +01:00
CMakeLists.txt fatfs: migrate unit tests to component test app, re-enable test for C2 2022-10-04 17:39:38 +02:00
partitions.csv fatfs: migrate unit tests to component test app, re-enable test for C2 2022-10-04 17:39:38 +02:00
pytest_fatfs_flash_ro.py feat(storage/fatfs): update deprecated syntax for tests 2024-04-17 10:37:31 +02:00
README.md ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
sdkconfig.defaults fatfs: migrate unit tests to component test app, re-enable test for C2 2022-10-04 17:39:38 +02:00

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C5 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 cases
  • fatfs_create_rawflash_image generates a FAT image from the set of files (via fatfsgen.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.