From cac06738596ae73ee71f2feb64ea2856b2fb9643 Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Wed, 27 Nov 2024 19:53:41 +0800 Subject: [PATCH] Documentation/esp32s3-devkit: Add doc for esp32s3-devkit/USBMSC More details https://nuttx.apache.org/docs/latest/applications/system/usbmsc/index.html https://github.com/apache/nuttx/pull/14966 Signed-off-by: wangjianyu3 --- .../esp32s3/boards/esp32s3-devkit/index.rst | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst b/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst index a7860df62cf0b..0c22f2730a7f4 100644 --- a/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst +++ b/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst @@ -827,3 +827,23 @@ Then check the partition:: crw-rw-rw- 0 ttyS0 frw-rw-rw- 4096 txtable crw-rw-rw- 0 zero + +usbmsc +------ + +Basic USBMSC(USB Mass Storage Class) configuration based on esp32s3-devkit:usb_device + +You can run the configuration and compilation procedure:: + + $ ./tools/configure.sh -l esp32s3-devkit:usbmsc + $ make flash ESPTOOL_PORT=/dev/ttyACMx -j16 + +To test it, just run the following:: + + # Device + nsh> mkrd -m 10 -s 512 640 + nsh> msconn + + # Host + $ sudo mkfs.ext4 /dev/sdx + $ sudo mount /dev/sdx ./mnt/