1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Benjamin Valentin
c436c39ea8 pkg/fatfs: use page-wise read() and write()
The FAT file system operates on sectors (pages), so use the new
mtd_write_page() and mtd_read_page() functions.

This also avoids the wrap-around after reading/writing past 4 GiB.
2020-08-18 17:25:39 +02:00
fabian18
a3a1c160ee mtd: Change API to return 0 on success
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Koos
b34b11a0c6 pkg/fatfs: fix day_of_month value of get_fattime() 2020-04-03 11:27:10 +02:00
591d08500a pkg/fatfs: fix typos 2019-11-23 22:39:38 +01:00
70407a1a3e pkg*: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Michel Rottleuthner
7ad1d77786 pkg/fatfs: align to interface changes of FatFs R0.13a 2018-01-23 19:32:41 +01:00
MichelRottleuthner
198ced4933 pkg/fatfs: integrate diskio layer to mtd interface 2018-01-09 14:46:40 +01:00