-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add USB-serial capabilities #29
Comments
We can't both use the three USART and keep the current Bluepill pinout. Should we use only two out of the three USART or break the existing pinout instead? |
@jeanthom sure break the pinout |
I'm not sure about breaking compatibility, maybe having a BluePill ALT (breaking compatibility with the current BluePill pinout) could be a solution. Adding a new platform/pinout is fairly easy. |
Maybe reuse the usb-cdc code from BMP: https://github.com/blacksphere/blackmagic/blob/master/src/platforms/common/cdcacm.c |
Actually the code of pill_serial is from BMP: https://github.com/satoshinm/pill_serial/blob/master/src/cdcacm.c |
But since we are using unicoremx, the includes might be different... |
I think I might start by porting the pill_serial code to ucmx than integrate it to DirtyJTAG. This way I'll better understand the code, and avoid writing unnecessary code. |
One serial port would be enough, on the blue pill board. |
STM32 dongles have 3 built-in serial IF, we could use them in addition to JTAG (bluepill targets mainly).
Inspiration : https://github.com/satoshinm/pill_serial
The text was updated successfully, but these errors were encountered: