Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for GD32F205 USB serial #476

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Fixes for GD32F205 USB serial #476

merged 3 commits into from
Dec 2, 2024

Conversation

PetteriAimonen
Copy link
Collaborator

Fixes regression with GD32F205 USB enumeration on Windows.

Also includes a few other USB related fixes.

Previously USB serial number was disabled to save RAM,
but the length was left as 12. This confused Windows
and caused USB enumeration to fail.

Changed serial number to fake "1234".
This avoids Windows from guessing a new COM port number every
time the device is changed between ports.
usb_log_poll() was bringing in unnecessary code,
causing bootloader to be larger than needed and
exceed 32 kB.
Return proper error on unknown requests.
Don't hang on received data.
@aperezbios aperezbios merged commit 1a74fcb into main Dec 2, 2024
@aperezbios aperezbios deleted the dev_fix_gd32f205_usb branch December 2, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants