https://github.com/ekawahyu/Arduino_Cor … sb-cdc-acm
I added USB IRQ Handler as part of hw_config. I hope this is the right place to put it, otherwise please suggest what best to do.
Questions:
- Serial.begin(), Serial1.begin(), etc are intended for hardware serial port, what would be the syntax for USB Serial?
- Is SoftwareSerial library supported with the latest core? Has anyone tried it?
https://github.com/stm32duino/Arduino_C … 32/pull/91
This will not be the correct implementation but I’ve provided an CDC implementation to wi6labs for this:
https://github.com/stm32duino/Arduino_C … e0d9eb8f05
When I’m working with Arduino guy they used SerialUSB but I think Serial would be good and more generic. Then for hardware Serial use Serialx when x is the number of the Serial instance (Serial1 == USART1).
I never tried the SoftwareSerial, maybe @wi6labs test it.
What is the ETA of this USB changes to become mainstream? Is there anything I can do to help? All I need right now is to merge USBSerial.cpp (I think) to get Serial working?
Good job at making the USB devices selectable from the menu!
During this task I saw several restriction in the core that I’m currently removed.
Name of the instance will be SerialUSB but it will be link to Serial.
Serial will be the generic name to use in the sketch (Hw uart or Serial USB).
I will check this point next week. But in general, I use the latest version. As I’ve done this first port some month ago, I will probably update it.
[fpiSTM – Sat Sep 30, 2017 4:20 am] –
@ekawahyu,I will check this point next week. But in general, I use the latest version. As I’ve done this first port some month ago, I will probably update it.
Ok, cool! Please keep me updated. Thank you for spending the time looking at it.
[Rick Kimball – Fri Sep 29, 2017 10:50 pm] –
You could spend a few dollars and get a nucleo version of the F072 and use the builtin serial port instead of trying to use CDC USB.
Well, I consider doing things for fun and not getting a shortcut just to make it work. Anyway, your GitHub links in this post:
are all not working, where can I get the source, or whatever you had in those GitHub repos, from? Do you still have it or is it completely vanished from your machine as well?
[ekawahyu – Sat Sep 30, 2017 8:35 am] – Do you still have it or is it completely vanished from your machine as well?
[Rick Kimball – Sat Sep 30, 2017 2:17 pm] –[ekawahyu – Sat Sep 30, 2017 8:35 am] – Do you still have it or is it completely vanished from your machine as well?
Yeah, I could definitely read those! And I am keeping the Makefile cause I don’t want to go what you went through from scratch. Thanks anyway.