This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 289f43f0ad4328eb5ffb68e53a5daaf27aabf1ca
Author: wangjianyu3 <[email protected]>
AuthorDate: Wed Nov 27 19:53:41 2024 +0800

    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 <[email protected]>
---
 .../xtensa/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 a7860df62c..0c22f2730a 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/

Reply via email to