forked from LynnL4/ArduinoCore-samd
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
My Project with an XIAO_m0 is sticking at 1.8.3 because of these missing defines.
Suggested simple Patch (which surely can't break anything):
`
diff --git a/variants/XIAO_m0/variant.h b/variants/XIAO_m0/variant.h
index ffc9cf6..17ea50e 100644
--- a/variants/XIAO_m0/variant.h
+++ b/variants/XIAO_m0/variant.h
@@ -74,6 +74,9 @@
#if defined(TXRXLED_ENABLE)
#define PIN_LED_RXL PIN_LED2
#define PIN_LED_TXL PIN_LED3
+#else
+#define PIN_LED_RXL (12U)
+#define PIN_LED_TXL (11U)
#endif
/*
@@ -219,3 +222,5 @@ extern Uart Serial1;
#define SERIAL_PORT_HARDWARE_OPEN Serial1
#endif /* NO_USART_INTERFACE */
+
+#define Serial SerialUSB
`
Regards
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done