Você não pode selecionar mais de 25 tópicosOs tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
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