USB Dev: Integrate sdcard as a storage media that is accessed by USB-host as a USB Mass Storage Device

This commit is contained in:
Saurabh Kumar Bansal
2022-12-19 11:05:59 +05:30
parent 1d2469fbd1
commit 80cad41cc2
11 changed files with 646 additions and 156 deletions
@@ -144,7 +144,7 @@ The driver allows to redirect all standard application streams (stdinm stdout, s
USB Mass Storage Device (MSC)
-----------------------------
If the MSC CONFIG_TINYUSB_MSC_ENABLED option is enabled and SPI Flash Wear Levelling WL_SECTOR_SIZE is set to 512 and WL_SECTOR_MODE is set to PERF in Menuconfig, the USB MSC Device can be initialized as shown below (see example below).
If the MSC CONFIG_TINYUSB_MSC_ENABLED option is enabled, the USB MSC Device can be initialized as shown below (see example below).
.. code-block:: c