Skip to content

Commit 4c299fe

Browse files
committed
Add USBConsole.h so that default printf can be sent to USBSerial
1 parent 8526148 commit 4c299fe

File tree

1 file changed

+7
-0
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/TARGET_NRF52840_FEATHER

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include "USBSerial.h"
2+
3+
FileHandle* mbed::mbed_override_console(int)
4+
{
5+
static USBSerial usbSerialConsole;
6+
return &usbSerialConsole;
7+
}

0 commit comments

Comments
 (0)