We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a86745 commit 850046bCopy full SHA for 850046b
examples/ts_serial/ts_serial.ino
@@ -22,7 +22,11 @@ void serial_thread_func();
22
23
static char thread_name[NUM_THREADS][32];
24
#undef Serial
25
-SerialDispatcher Serial(SerialUSB);
+#ifdef ARDUINO_PORTENTA_H7_M4
26
+ SerialDispatcher Serial(Serial1); /* No SerialUSB for Portenta H7 / M4 Core */
27
+#else
28
+ SerialDispatcher Serial(SerialUSB);
29
+#endif
30
31
/**************************************************************************************
32
* SETUP/LOOP
0 commit comments