1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +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 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
fatfs.h pkg/fatfs: fatfs_vfs: wire up format() 2022-02-16 14:30:08 +01:00
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 pkg/spiffs: add multi-partitions support 2018-03-02 13:45:17 +01:00