Benjamin Valentin
9f4fa5ac99
tests/pkg_fatfs_vfs: format storage before running the test
2022-02-16 14:30:08 +01:00
Benjamin Valentin
ae06265de0
pkg/fatfs: VFS: internally handle fatfs_mtd_devs
...
This makes FAT behave more like the other file systems supported by VFS.
The `fatfs_mtd_devs` array is populated internally so the application does
not have to handle this.
2022-02-09 12:21:53 +01:00
Benjamin Valentin
96f4fd6273
tests/pkg_fatfs_vfs: avoid conflict with boards defining mtd1
2022-01-06 18:24:00 +01:00
Leandro Lanzieri
eb4bbb86d3
tests/pkg_fatfs_vfs: adapt test to work with mtd_mci and SD card
2021-12-01 11:15:16 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
chrysn
34072175ef
tests/pkg_fatfs_vfs: Test for direct stat (as opposed to fstat)
2020-10-25 17:44:32 +01:00
Benjamin Valentin
0822a4c77e
tests/pkg_fatfs_vfs: adapt for mtd_mci
2020-09-25 15:26:02 +02:00
Keith Packard
e215261ced
picolibc: Use most NEWLIB code with picolibc
...
In most places, picolibc and newlib are the same, so use
the existing newlib code when compiling with picolibc.
Signed-off-by: Keith Packard <keithp@keithp.com>
2020-08-24 08:26:16 -07:00
Sven Herrmann
6053a223fa
tests/pkg_fatfs_vfs: add fstat test
2020-06-30 07:45:07 +00:00
Sven Herrmann
05352b63e4
tests/pkg_fatfs_vfs: add tests
...
* vfs_open with `O_WRONLY | O_CREAT` if file exists
* of fopen etc. with newlib
2020-06-29 10:06:28 +00:00
Benjamin Valentin
4918dfe590
tests: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Michel Rottleuthner
7ad1d77786
pkg/fatfs: align to interface changes of FatFs R0.13a
2018-01-23 19:32:41 +01:00
Vincent Dupont
1f0024b184
tests/pkg_fatfs_vfs: remove rtc_init call
2018-01-09 19:01:26 +01:00
MichelRottleuthner
198ced4933
pkg/fatfs: integrate diskio layer to mtd interface
2018-01-09 14:46:40 +01:00
MichelRottleuthner
ee17dae5af
pkg/fatfs: add vfs integration
2018-01-09 14:46:40 +01:00