Skip to content

Broken defines for SerialUSB, PIN_LED_RXL and PIN_LED_TXL #73

@nichtgedacht

Description

@nichtgedacht

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
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions