-
Notifications
You must be signed in to change notification settings - Fork 980
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
Missing USB CDC config for GenC0
#2582
Comments
Hi @thernstig |
Note you can add it using Arduino feature: |
I unfortunately do not know how to test it myself :( @fpistm I am not even sure how this works when using the STM32 MCUs such as C071xx. If we look at ATMega MCUs, their bootloader supports USB CDC by default and can be set to upload new firmware via the Arduino IDE via USB CDC. But STM32 C071 default booatloader does not have USB CDC; only USB DFU. So I cannot even grasp how it can work for this stm32duino to allow for the Arduino IDE to upload new firmware via the COM-port. |
GenC0
GenC0
Enable the HSI48 for USB (not done thanks CubeMX code generation). Add GenC0 USB menu. Moved G0 one in alphabetical order. Fixes stm32duino#2582. Signed-off-by: Frederic Pillon <[email protected]>
You can refer to Arduino documentation: https://arduino.github.io/arduino-cli/0.34/platform-specification/#boardslocaltxt
Arduino probably use the 1200bps feature which is catched by the USB CDC then reboot in bootloader mode. Anyway, I've tested USB and enable it properly, see #2584. |
When checking boards.txt I see things like:
But I cannot see this for
GenC0
. Is this a bug/oversight?The text was updated successfully, but these errors were encountered: