1885 views|0 replies

1w

Posts

25

Resources
The OP
 

【MicroPython】STM32 branch allows selection of USB FS or USB HS [Copy link]

 

Today MicroPython has made many updates to the STM32 branch. In addition to the network and QSPI functions, there are also updates to USB. Now it can automatically detect USB FS and HS modes and switch them through commands:

pyb.usb_mode('VCP', port=0)


port=0 represents USB FS and port=1 represents USB HS.

  • https://github.com/micropython/micropython/commit/f114ce0a4b43474a73e9e5ddddbcf9a36553f954
  • https://github.com/micropython/micropython/commit/46b3cc4572036c9e2185b4aa8fb77dff29967680

 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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