Du kannst nicht mehr als 25 Themen auswählenThemen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
There are times when I wish to debug the cores files, that I wish I could do debug output to USB. Note: can do with cpp files by doing Serial.printf or the like, but more of a pain with .c files.
The printf stuff put into cores has been very useful for debuging esperailly earlier on. I understand some of the time it is needed to debug usb stuff or early on stuff so TX pin of Serial4 makes sense.
But for other debugging sessions, wish you had option to go output to the logical Serial object.
So I added a new commented out define in the printf.h file that syas
#define PRINT_DEBUG_USING_USB
That is uncommented, the debug function putchar_debug is defined to either use usb_serial_putchar if we are using normal USB Serial or use usb_seremu_putchar if using Serial emulation.
So far my main testing has been with seremu..
Not sure if this is something you are interested in. but just in case.
Did this Pull Request