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
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-12 16:05:18 +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
799ee40ea7
Merge pull request #13866 from benpicco/pkg/fs_params
...
pkg/fs: set VFS params by fs, not by the application
2020-07-01 14:19:00 +02:00
385ad95701
pkg: adapt 'simple' packages to the new organization
2020-06-26 09:25:43 +02:00
Benjamin Valentin
3068dad305
pkg/spiffs: set VFS params
2020-06-17 16:00:24 +02:00
a009684336
pkg: use Makefile.base to build pkg modules when possible
2020-06-12 18:44:49 +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
Gaëtan Harter
ca5d13cc2a
pkg/*: adapt to new state file targets
...
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
ce9b1e3826
pkg: remove not needed git-downloaded dependencies
...
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
70407a1a3e
pkg*: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Vincent Dupont
0d872bb616
pkg/spiffs: remove c11 dependency
2018-04-12 09:55:52 +02:00
Vincent Dupont
26f77e0565
pkg/spiffs: clean-up makefiles
2018-04-12 09:54:04 +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
Joakim Nohlgård
599ad3784c
Merge pull request #7345 from OTAkeys/pr/spiffs_statvfs
...
pkg/spiffs: implement statvfs and improve doc
2017-12-14 11:37:53 +01:00
035d266d49
makefile: indentation cleanup
2017-09-22 12:00:47 +02:00
Vincent Dupont
9fe3cf2391
pkg/spiffs: update pkg to v0.3.7
2017-07-17 13:55:55 +02:00
Vincent Dupont
5a89d1aefc
pkg/spiffs: add statvfs fs ops
2017-07-10 15:57:03 +02:00
Vincent Dupont
ec9f37436d
fs/spiffs: improve documentation
2017-07-07 11:31:23 +02:00
2802c1e5dd
fixup! pkg: enhance doxygen packages documentation
2017-07-03 11:18:47 +02:00
c4ebd18be2
pkg: enhance doxygen packages documentation
2017-07-03 09:56:07 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Vincent Dupont
7d6e7bb402
pkg/spiffs: set SPIFFS_ALIGNED_OBJECT_INDEX_TABLES by default
...
This enforce right memory alignment of page object header struct.
If this flag is not set, hard fault can be generated (at least on Cortex-M0)
2017-05-10 17:42:43 +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