CommunityGD32Cores / ArduinoCore-GD32

Arduino core for GD32 devices, community developed, based on original GigaDevice's core
Other
86 stars 33 forks source link

Bjc/usb fixes #72

Closed bjc closed 1 year ago

bjc commented 2 years ago

This covers more bases when the device is reset by hooking into the firmware library's reset hook.

I've also added a 5ms transmission timeout on flush so things don't hang indefinitely if the host is ignoring that endpoint.

Tested on macOS UEFI and the real OS, as well as Linux. I don't have access to windows right now, so I can't test that.

maxgerhardt commented 2 years ago

I'll test this shortly on Windows and merge if USB-CDC still works as normal.

maxgerhardt commented 2 years ago

Sorry for the wait, I'll test shortly.

maxgerhardt commented 1 year ago

Sorry for the massive delay, I've tested this to be working on Windows, thus I'll merge.

grafik