zephyr/samples/subsys/usb
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
..
audio usb: samples: audio: Add samples to sanitycheck 2020-09-03 21:50:03 +02:00
cdc_acm device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
cdc_acm_composite device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
console tests: usb: add fixture requirement 2020-09-14 18:37:17 -05:00
dfu dts: remove legacy macro support 2020-10-09 08:45:38 -05:00
hid usb: hid: All hid_ops callbacks get device pointer. 2020-09-04 12:27:44 +02:00
hid-cdc usb: hid: All hid_ops callbacks get device pointer. 2020-09-04 12:27:44 +02:00
hid-mouse device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
inf usb: cdc: add .inf file 2019-05-09 08:20:34 -04:00
mass samples: mass: rework disk and fs configuration 2020-12-02 11:50:11 +01:00
testusb samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
webusb usb: samples: Add Extension descriptor to webUSB sample. 2020-10-30 15:56:13 +01:00
usb_pid.Kconfig samples: wpanusb: assign next free sample PID 2020-05-27 14:15:52 +02:00
usb.rst doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00