Tomáš Rohlínek 525776f748 feat(vfs/fatfs): Add option for automatic immediate fsync 2 лет назад
..
flash_ro 7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2 лет назад
flash_wl 525776f748 feat(vfs/fatfs): Add option for automatic immediate fsync 2 лет назад
sdcard 976644acf6 CI: fix sdcard fatfs test_apps format timeout 2 лет назад
test_fatfs_common 525776f748 feat(vfs/fatfs): Add option for automatic immediate fsync 2 лет назад
.build-test-rules.yml 2e11919f70 fix(ci): change build-test-rules files folder 2 лет назад
README.md 6a86614d74 fatfs: add missing readme file for the test apps 3 лет назад

README.md

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.