dmitrystu / libusb_stm32

Lightweight USB device Stack for STM32 microcontrollers
Apache License 2.0
721 stars 165 forks source link

Adding support for STM32F303 #3

Closed xcvista closed 7 years ago

xcvista commented 7 years ago

The STM32F303 have a very similar USB peripheral as L1xx, however it lacked any internal DP pull up. The F303 driver is created by copying the L1xx driver, but removing all mentions to SYSCFG (where the pull up control lives.)

The same driver should work with F103 as well, but this is currently untested.

xcvista commented 7 years ago

I need to head off to bed now. Will test F103 tomorrow or the day next. If it works I will pull request again to add F1 support code.