2758 views|3 replies

1w

Posts

25

Resources
The OP
 

MicroPython has made several adjustments to USB functions [Copy link]

 
  • SCSI can support multiple logical units through one interface
    链接已隐藏,如需查看请登录或者注册
  • Provide custom query handling via MSC interface
    链接已隐藏,如需查看请登录或者注册
  • Provide Mode Sense response data in MSC interface
    链接已隐藏,如需查看请登录或者注册
  • Use ARG_xxx enum to access the kw parameter in pyb_usb_mode
    链接已隐藏,如需查看请登录或者注册
  • Allow compiling with USB enabled and SD card disabled.
    链接已隐藏,如需查看请登录或者注册
  • Add "msc" kw-arg to pyb.usb_mode to select MSC logic unit
    链接已隐藏,如需查看请登录或者注册

Latest reply

Thanks a lot, brother. pyb.usb_mode('VCP+MSC', msc=(pyb.Flash(), pyb.SDCard())) can virtualize the SD card into a USB flash drive.   Details Published on 2020-6-9 17:31
 
 

1w

Posts

25

Resources
2
 

The last improvement is more meaningful, you can load the internal memory and SD at the same time. For example:


pyb.usb_mode('VCP+MSC', msc=(pyb.Flash(), pyb.SDCard()))

 
 
 

164

Posts

0

Resources
3
 

Thanks for sharing!

 
 
 

11

Posts

0

Resources
4
 

Thanks a lot, brother. pyb.usb_mode('VCP+MSC', msc=(pyb.Flash(), pyb.SDCard())) can virtualize the SD card into a USB flash drive.

 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list