esp32s3-devkit/usbmsc: Initializing configuration for USBMSC

USBMSC - USB Mass Storage Class

Build

  $ ./tools/configure.sh -l esp32s3-devkit:usbmsc
  $ make flash ESPTOOL_PORT=/dev/ttyACMx

Runtime

  # Device
  nsh> mkrd -m 10 -s 512 640
  nsh> msconn

  # Host
  $ sudo mkfs.ext4 /dev/sdx
  $ sudo mount /dev/sdx ./mnt/

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
wangjianyu3 2024-11-27 19:39:33 +08:00 committed by Alan C. Assis
parent ffa2209b4a
commit 1cfaff011e

View file

@ -0,0 +1,9 @@
#include "../usb_device/defconfig"
CONFIG_BCH=y
CONFIG_DEV_ZERO=y
CONFIG_ESP32S3_SPIFLASH=y
CONFIG_SYSTEM_USBMSC=y
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/ram10"
CONFIG_USBMSC=y
CONFIG_USBMSC_EPBULKIN=2
CONFIG_USBMSC_EPBULKOUT=1