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

14 Commits

Author SHA1 Message Date
Benjamin Valentin
e657590ce0 examples/filesystem: drop manual mounts
File systems should be mounted via `vfs_default`, not manually by
the application.

Also, `vfs` gained the `format` sub-command, so no need to provide
it in the example application.
2022-08-21 22:55:30 +02: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
Karl Fessel
2bd2384bc0 examples/filesystem: posix open needs mode if O_CREATE
umask is applied to mode (mode & ~umask) -> 00777 is a good default
see: man 2 open
2021-03-16 12:13:11 +01:00
Keith Packard
e215261ced picolibc: Use most NEWLIB code with picolibc
In most places, picolibc and newlib are the same, so use
the existing newlib code when compiling with picolibc.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-08-24 08:26:16 -07:00
9f77c3c997
examples/filesystem: Cleanup filesystem/mtd check 2020-07-17 18:44:18 +02:00
Benjamin Valentin
f69c0f9758 examples/filesystem: add support for littlefs2
Just like littlefs, but this is the current version of it.
2020-07-17 16:43:00 +02:00
Daniel Lockau
0d3dc120ef drivers/sdcard_spi: remove auto-init 2020-07-09 08:50:53 +02:00
eee5bf178d
Merge pull request #13993 from benpicco/examples/filesystem-fatfs
examples/filesystem: add support for fatfs on SD card
2020-05-26 19:20:47 +02:00
Benjamin Valentin
ccdbbfa53c examples/filesystem: add support for fatfs 2020-05-26 16:22:31 +02:00
Benjamin Valentin
9ada10609f examples/filesystem: add support for SD card as MTD backend 2020-05-20 11:58:11 +02:00
898c6a758e
examples/filesystem: include newline in cat command 2020-05-19 11:45:15 +02:00
Benjamin Valentin
d16afe5422 examples: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
59747590f1 examples/filesystem: fix typos and cleanup 2018-05-15 16:50:33 +02:00
Vincent Dupont
01ac354929 examples: add filesystem example 2018-04-13 10:51:07 +02:00