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

29 Commits

Author SHA1 Message Date
Benjamin Valentin
c438c80548 cpu/native: add host fs access via VFS 2023-04-26 00:53:14 +02:00
Benjamin Valentin
e798d21b3b pkg/lwext4: add lwEXT4 2023-02-25 14:01:20 +01:00
Marian Buschsieweke
ca4afc4053
pkg/littlefs2: fix unaligned memory access
Previously `tests/pkg_littlefs2` crashed on the `samr21-xpro`. This
now aligns the buffers in `littlefs2_desc_t` to the alignment
requirement of `uint32_t`.

Specifically the issue causing the crash at hand was that
`struct lfs_free::buffer` is of type `uint32_t *`, so access are
expected to be aligned to `uint32_t`. After this commit, this
assumption is fulfilled.
2022-08-18 18:54:37 +02:00
Marian Buschsieweke
f87a401c87
pkg/littlefs: fix unaligned memory access
Previously `tests/pkg_littlefs` crashed on the `samr21-xpro`. This
now aligns the buffers in `littlefs_desc_t` to the alignment
requirement of `uint32_t`.

Specifically the issue causing the crash at hand was that
`lfs_free_t::buffer` is of type `uint32_t *`, so access are expected
to be aligned to `uint32_t`. After this commit, this assumption is
fulfilled.
2022-08-18 18:53:59 +02:00
benpicco
f375856a7e
Merge pull request #18141 from fabian18/filesystems_configure_block_size
littlefs: make block size configurable at compile time
2022-07-31 22:53:46 +02:00
Fabian Hüßler
a29d5c24cd pkg/littlefs2: make block size configurable 2022-07-31 10:57:13 +02:00
Fabian Hüßler
41c0b1e7f0 pkg/littlefs: make block size configurable 2022-07-31 10:57:12 +02:00
Benjamin Valentin
148651a94d sys/fs/constfs: allow to host arbitrary data
Don't require data to be a uint8_t array to to be casted into one.
2022-06-12 19:39:27 +02:00
Benjamin Valentin
5b246d02c0 pkg/fatfs: fatfs_vfs: wire up format() 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
33449a4409 pkg/fatfs: bump version to r0.14 2020-11-17 11:29:28 +01:00
Benjamin Valentin
a028102149 pkg/littlefs2: rename littlefs_desc_t -> littlefs2_desc_t
Allow to have both versions of the FS present at the same time.
2020-07-17 16:43:00 +02:00
9b02c7b4ee
pkg/littlefs2: Add package for LittleFS v2.x.y 2020-02-20 14:51:45 +01:00
Vincent Dupont
7e47e36e55 pkg/littlefs: fix file buffer size 2018-10-03 11:54:17 +02:00
Joakim Nohlgård
0bc2c1b2a9 fs/fatfs: Editorial changes in Doxygen comments 2018-03-14 11:57:34 +01:00
Joakim Nohlgård
4ce675e181 fs/fatfs: Adjust FATFS_MAX_VOL_STR_LEN to avoid overflows
Prevents compile time warnings about truncation of the format string for
fs_idx > 9
2018-03-14 11:56:52 +01:00
Joakim Nohlgård
0251f54e66 pkg/fatfs: Remove unused FATFS_DIR_SIZE, FATFS_FILE_SIZE 2018-03-14 11:56:51 +01: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
c8eb77e8ff pkg: add littlefs pkg and vfs integration 2018-01-09 17:03:44 +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
Vincent Dupont
8bce768e8b pkg/spiffs: improve integration documentation 2017-07-10 15:58:50 +02:00
Vincent Dupont
ec9f37436d fs/spiffs: improve documentation 2017-07-07 11:31:23 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Martine Lenders
70bcaebec8 doc: fix grouping of SPIFFS 2017-04-13 16:35:31 +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
Martine Lenders
aeccb853a5 doc: fix doc hierarchy 2017-03-20 11:59:10 +01:00
Joakim Nohlgård
0371769e72 devfs: Dynamic file system for device nodes 2017-03-07 17:59:59 +01:00
Joakim Nohlgård
dcc37329df sys/vfs: A virtual file system (VFS) layer for RIOT
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00