mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
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:
parent
ffa2209b4a
commit
1cfaff011e
1 changed files with 9 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue