README.rst
1.. zephyr:code-sample:: legacy-usb-mass
2 :name: Legacy USB Mass Storage
3 :relevant-api: _usb_device_core_api
4
5 Expose board's RAM as a USB disk using USB Mass Storage driver.
6
7Overview
8********
9
10This sample app demonstrates use of a USB Mass Storage driver by the Zephyr
11project. This very simple driver enumerates a board with RAM disk into an USB
12disk. This sample can be found under
13:zephyr_file:`samples/subsys/usb/legacy/mass` in the Zephyr project tree.
14
15.. note::
16 This samples demonstrate deprecated :ref:`usb_device_stack`.
17
18Requirements
19************
20
21This project requires a USB device driver, and either 96KiB of RAM or a FLASH device.
22
23Building and Running
24********************
25
26The configurations selects RAM-based disk without any file system.
27
28.. zephyr-app-commands::
29 :zephyr-app: samples/subsys/usb/legacy/mass
30 :board: reel_board
31 :goals: build
32 :compact:
33