mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
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 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
1cfaff011e
commit
289f43f0ad
1 changed files with 20 additions and 0 deletions
|
@ -827,3 +827,23 @@ Then check the partition::
|
||||||
crw-rw-rw- 0 ttyS0
|
crw-rw-rw- 0 ttyS0
|
||||||
frw-rw-rw- 4096 txtable
|
frw-rw-rw- 4096 txtable
|
||||||
crw-rw-rw- 0 zero
|
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/
|
||||||
|
|
Loading…
Reference in a new issue