From 1cfaff011ea5178ba3faffc10a33d9f52de80bfc Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Wed, 27 Nov 2024 19:39:33 +0800 Subject: [PATCH] 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 --- .../esp32s3/esp32s3-devkit/configs/usbmsc/defconfig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 boards/xtensa/esp32s3/esp32s3-devkit/configs/usbmsc/defconfig diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/usbmsc/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/usbmsc/defconfig new file mode 100644 index 0000000000..cdac5c4207 --- /dev/null +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/usbmsc/defconfig @@ -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