1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/include/fs
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
..
constfs.h sys/fs/constfs: allow to host arbitrary data 2022-06-12 19:39:27 +02:00
devfs.h
fatfs.h
littlefs2_fs.h pkg/littlefs2: fix unaligned memory access 2022-08-18 18:54:37 +02:00
littlefs_fs.h pkg/littlefs: fix unaligned memory access 2022-08-18 18:53:59 +02:00
spiffs_fs.h