board/stm32f401rc-rs485: Add support to Mass Storage

Signed-off-by: Rodrigo Sim rcsim10@gmail.com
This commit is contained in:
Rodrigo Sim
2024-04-20 11:05:39 -03:00
committed by Xiang Xiao
parent 94d8fba629
commit 6ad202ee4c
5 changed files with 168 additions and 1 deletions
@@ -523,4 +523,19 @@ NSH commands::
56 bytes from 10.42.0.1: icmp_seq=1 time=0.0 ms
...
10 packets transmitted, 10 received, 0% packet loss, time 10100 ms
rtt min/avg/max/mdev = 0.000/0.000/0.000/0.000 ms
rtt min/avg/max/mdev = 0.000/0.000/0.000/0.000 ms
usbmsc
------
Configures the NuttShell (nsh), enables a serial console on USART6 and enables USB Mass Storage.
NSH commands::
nsh> msconn
mcsonn_main: Creating block drivers
mcsonn_main: Configuring with NLUNS=1
mcsonn_main: handle=0x20004c10
mcsonn_main: Bind LUN=0 to /dev/mmcsd0
mcsonn_main: Connected
nsh> msdis