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

14 Commits

Author SHA1 Message Date
Benjamin Valentin
5b246d02c0 pkg/fatfs: fatfs_vfs: wire up format() 2022-02-16 14:30:08 +01:00
Benjamin Valentin
8f47684343 pkg/fatfs: ensure max sector size is not exceeded 2022-02-09 12:21:53 +01:00
Benjamin Valentin
a8694571cf pkg/fatfs: fix build on AVR 2022-01-06 14:28:38 +01:00
Benjamin Valentin
60eb75da3c mtd: rename mtd_write_page() -> mtd_write_page_raw()
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
33449a4409 pkg/fatfs: bump version to r0.14 2020-11-17 11:29:28 +01:00
Bas Stottelaar
38a5ff7d4b pkg/*: realign ENABLE_DEBUG 2020-10-23 02:43:10 +02:00
Bas Stottelaar
970c72a0cb pkg/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
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