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

42 Commits

Author SHA1 Message Date
crasbe
4b33e3e273 examples/filesystem: Increase main stack size
The stack size for the main thread is insufficient for some real targets to run this example, which leads to kernel panics in the MEM MANAGE HANDLER when trying to access the Flash
2024-02-29 23:44:17 +01:00
crasbe
9fa92da6ea examples/filesystem: Update and add to README
Reflect the updated behavior of the filesystem example and added more examples on the usage on real boards.

Remove the remarks about mtd and MTD_0.

Co-Authored-By: benpicco <benpicco@googlemail.com>
2024-02-29 23:43:25 +01:00
Hugues Larrive
3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
Marian Buschsieweke
7e58bea1bd
examples,tests: Update Makefile.cis 2023-02-27 12:31:04 +01:00
Marian Buschsieweke
f2aa6d7476
examples: Update Makefile.ci 2023-01-12 08:39:41 +01:00
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
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
70d9856111 examples/filesystem: remove dedicated FatFS section from readme
FAT now behaves just like all other FSs and does not need special treatment.
2022-02-16 14:35:17 +01:00
chrysn
1c3a646936
Merge pull request #17653 from benpicco/cpu/native-fatfs_defaults
boards/native: select MTD defaults for FAT
2022-02-15 09:03:21 +01:00
Benjamin Valentin
cd543f1873 examples/filesystem: adopt README.md after changing MTD defaults 2022-02-14 18:22:17 +01:00
Benjamin Valentin
92d9d5676a sys/vfs: add vfs_default pseudo-module 2022-02-14 13:04:37 +01:00
Benjamin Valentin
1eebbabe83 examples/filesystem: disable auto-mount 2022-02-09 12:21:53 +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
chrysn
deacdf130d examples/filesystem: Explain how to use fatfs 2021-09-02 17:52:53 +02:00
Gerson Fernando Budke
4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03: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
Benjamin Valentin
f35b5dbed9 examples: add samd10-xmini to Makefile.ci 2020-12-11 18:25:36 +01:00
13e56b3e3e
examples: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02: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
412f4e5234 examples/filesystem: default to littlefs2
The upstream version of littlefs is what we call littlefs2.
'littlefs' is kept for legacy compatibility, but is not actively
developed upstream.

So make littlefs2 the default for the filesystem example.
2020-07-17 16:43:00 +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
Benjamin Valentin
0263243ee1 examples/filesystem: don't set VFS params by the application 2020-06-17 15:58:33 +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
31dbbff450 examples: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:48 +02:00
Marian Buschsieweke
87380f309f
examples: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
benpicco
c9b76a9585
Merge pull request #12406 from maribu/pain_in_the_ass
examples: Moved CI infos to Makefile.ci
2019-10-15 14:40:40 +02:00
Marian Buschsieweke
ba90ba2e2f
examples: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Decluttered Makefile by moving BOARD_INSUFFICIENT_MEMORY lists from Makefile
  to Makefile.ci
- Optimized the list for use of tools:
    - One entry per line reduces the number of merge conflicts
    - One entry per line allows alphabetical sorting e.g. via Vim's sort command
- Sorted all lists alphabetically
2019-10-15 09:55:07 +02:00
Sebastian Meiling
55f9e6f99f examples/filesystem: blacklist feature instead of boards
Remove BOARD_BLACKLIST and use FEATURES_BLACKLIST instead.
2019-10-14 17:21:54 +02:00
Benjamin Valentin
d16afe5422 examples: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Marian Buschsieweke
f4c0af8421
examples: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed
2019-05-24 17:23:00 +02:00
Marian Buschsieweke
e14bea1cf5
examples: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 13:58:45 +01:00
Vincent Dupont
7e47e36e55 pkg/littlefs: fix file buffer size 2018-10-03 11:54:17 +02:00
cladmi
b3f889c7ef
examples: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:07:54 +02:00
3e4f7adc95 boards/nucleo-f031k6: rename to st marketing name 2018-05-23 12:46:42 +02:00
59747590f1 examples/filesystem: fix typos and cleanup 2018-05-15 16:50:33 +02:00
Vincent Dupont
7cd7a6ccca examples/filesystem: blacklist msp430 boards 2018-04-13 10:53:41 +02:00
Vincent Dupont
01ac354929 examples: add filesystem example 2018-04-13 10:51:07 +02:00