zephyr/samples/subsys
Johann Fischer cec040503b samples: mass: rework disk and fs configuration
USB MSC sample has been expanded over time. Config overlays
for RAM disk and flash disks were added. Board specific overlays
followed. It was overlooked that they forced a specific
configuration for the nrf52840dk_nrf52840 board,
even if it was not explicitly desired
(for example RAM-disk). This also caused strange behaviour
during automatic MSC USB3CV tests (which explicit selects RAM-disk)
so that nrf5340dk_nrf5340_cpuapp board passed test
but nrf52840dk_nrf52840 failed.

Rework disk and file system configuration, and initialization
code, allow to use FAT file system on top of RAM disk.

This sample can be built with none or one of two supported
file systems, LittleFS or FATFS. Disk subsystem can be flash
or RAM based. LittleFS only works with flash disk.
There are four useful possibilities:
- RAM disk without any file system for testing (default)
- RAM disk with FAT file system
- flash disk with FAT file system
- flash disk with LittleFS
Flash disk configurations is only available (as before) for
nordic,qspi-nor compatible, but only need the device tree overlay
per platform without a config overlay.

This path also revises test cases.
Remove invalid "flash" tag from depends_on key.
Remove unnecessary gpio tag and exclude native platform.

Resolves: #26275

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2020-12-02 11:50:11 +01:00
..
canbus samples: canbus: canopen: add configuration for devices with no storage 2020-11-10 15:44:25 -06:00
console doc: update function references to use :c:func: 2020-08-31 09:57:33 -04:00
fs boards: samples: Enable fat_fs sdhc sample on mm_swiftio board 2020-11-03 10:35:49 -06:00
ipc device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
logging sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
mgmt samples: mgmr: smp_svr: Extend sample sanity check configurations 2020-11-30 15:48:59 +01:00
nvs samples: nvs: Do full chip erase when flashing 2020-08-11 09:39:49 -04:00
power/device_pm device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
settings boards: arm: remove non-existing doc link from partition definitions 2020-10-27 15:01:19 -04:00
shell shell: example: prj_minimal config update 2020-11-30 16:03:01 -06:00
tracing samples: tracing: Extend the SystemView configuration to more platforms 2020-11-20 12:54:09 -06:00
usb samples: mass: rework disk and fs configuration 2020-12-02 11:50:11 +01:00
subsys.rst doc: add labels to sample docs 2017-04-04 20:48:08 +00:00