esp-idf/components/fatfs/test_apps
Jiang Jiang Jian a75bacf781 Merge branch 'fix/wl_fatfs_format' into 'master'
fix(storage/fatfs): fix double mouting of spiflash

Closes IDF-9677

See merge request espressif/esp-idf!30162
2024-04-17 10:48:39 +08:00
..
flash_ro Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master' 2024-04-08 12:16:16 +08:00
flash_wl Merge branch 'fix/wl_fatfs_format' into 'master' 2024-04-17 10:48:39 +08:00
sdcard fix(sdspi): temp skip run high falure job on esp32 2024-03-15 16:15:55 +08:00
test_fatfs_common fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
.build-test-rules.yml feat(storage/example): enable host test for flash wl fatfs 2024-04-12 10:26:25 +02: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.