Skip to content

Commit

Permalink
Applied suggestions from review
Browse files Browse the repository at this point in the history
Removed reference to 'MTD_0', fixed formatting and failed static test for trailing whitespaces
  • Loading branch information
crasbe authored Feb 28, 2024
1 parent e7d93ef commit 0225613
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions examples/filesystem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ application.
In particular, this example shows:

- how to mount/format/unmount a file system, either with constfs for all
devices and the default fs for devices that have a filesystem mountpoint configured by the board.
devices and the default fs for devices that have a filesystem mountpoint
configured by the board.
- how to open/read/write/close a file with and without newlib

A `constfs` file system is demonstrated with two files for all targets
to demonstrate the file system functionality without an external mass
storage device.

For targets that feature an onboard external mass storage device with a mount point configured, like
the Nordic nRF52840 Development Kit (see `boards/nrf52840dk`), the
flash chip is automatically added by VFS.
In RIOT, most file systems use a `mtd` as flash interface. So to use this
example the define `MTD_0` must exist. `MTD_0` is a pointer to a
`mtd_dev_t` instance.
For targets that feature an onboard external mass storage device with a

Check failure on line 19 in examples/filesystem/README.md

View workflow job for this annotation

GitHub Actions / static-tests

trailing whitespace.
mount point configured, like the Nordic nRF52840 Development Kit

Check failure on line 20 in examples/filesystem/README.md

View workflow job for this annotation

GitHub Actions / static-tests

trailing whitespace.
(see `boards/nrf52840dk`), the flash chip is automatically added by VFS.

This example uses `littlefs` as default file system on the whole `mtd`.

Expand Down

0 comments on commit 0225613

Please sign in to comment.