Add USBConsole.h so that default printf can be sent to USBSerial

pull/13397/head
winneymj 2020-07-19 15:23:52 -05:00
parent 8526148001
commit 4c299fe96d
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#include "USBSerial.h"
FileHandle* mbed::mbed_override_console(int)
{
static USBSerial usbSerialConsole;
return &usbSerialConsole;
}