Benjamin Valentin
85dd564f87
vfs: drop unused abs_path parameter
2022-09-29 22:01:37 +02:00
chrysn
2cb4b70458
vfs / treewide: Remove manual zeroing of vfs stat buffers
2022-02-12 12:31:38 +01:00
Benjamin Valentin
360e1a82d6
pkg/spiffs: hook up vfs_fsync()
2022-02-07 16:16:43 +01:00
Marian Buschsieweke
c50c5ea436
pkg/spifs: silence -Wcast-align
2021-12-03 10:12:38 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02: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
adb46b9ee7
Merge pull request #14006 from benpicco/sdcard_fixes
...
pkg/fs: initialize MTD device before accessing it's properties
2020-05-12 11:31: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
Benjamin Valentin
348b45f600
pkg/spiffs: init MTD device before accessing it's parameters
...
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.
Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
70407a1a3e
pkg*: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Samantha Wojtowicz
ced65bbf5b
pkg/spiffs: add multi-partitions support
...
Two new fileds added in spiffs descriptor:
- base_addr: base address of the partition
- part_block_count: number of sectors in the partition
If part_block_count is 0, the whole underlying MTD is used
2018-03-02 13:45:17 +01:00
Vincent Dupont
054e6c2215
pkg/spiffs: implement format from vfs
2018-02-09 14:29:45 +01:00
Vincent Dupont
5a89d1aefc
pkg/spiffs: add statvfs fs ops
2017-07-10 15:57:03 +02:00
Vincent Dupont
f0bd96b690
spiffs: add SPIFFS as a package
...
This implements basic features with the VFS interface
2017-03-31 17:17:41 +02:00