esp-idf/components/fatfs/test_apps
Adam Múdry 25714837cf fix(storage): FATFS WL function formatting wrong partition
Closes https://github.com/espressif/esp-idf/issues/12542

Co-authored-by: Tony Stuart <anthonyfstuart@gmail.com>
2023-11-23 13:54:00 +01:00
..
flash_ro feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
flash_wl fix(storage): FATFS WL function formatting wrong partition 2023-11-23 13:54:00 +01:00
sdcard CI: fix sdcard fatfs test_apps format timeout 2023-05-25 08:52:59 +00:00
test_fatfs_common feat(vfs/fatfs): Add option for automatic immediate fsync 2023-10-02 07:06:05 +02:00
.build-test-rules.yml fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
README.md fatfs: add missing readme file for the test apps 2022-10-10 12:15:56 +02:00

fatfs component target tests

This directory contains tests for fatfs component which are run on chip targets.

See also test_fatfs_host directory for the tests which run on a Linux host.

Fatfs tests can be executed with different diskio backends: diskio_sdmmc (SD cards over SD or SPI interface), diskio_spiflash (wear levelling in internal flash) and diskio_rawflash (read-only, no wear levelling, internal flash). There is one test app here for each of these backends:

  • sdcard — runs fatfs tests with an SD card over SDMMC or SDSPI interface
  • flash_wl - runs fatfs test in a wear_levelling partition in SPI flash
  • flash_ro - runs fatfs test in a read-only (no wear levelling) partition in SPI flash

These test apps define:

  • test functions
  • setup/teardown routines
  • build/test configurations
  • pytest test runners

The actual test cases (many of which are common between the test apps) are defined in the test_fatfs_common component.