Skip to content

Commit 5438f16

Browse files
deadprogramaykevl
authored andcommitted
machine/atsamd21: support for USB CDC aka serial interface
Signed-off-by: Ron Evans <[email protected]>
1 parent 7f027dd commit 5438f16

File tree

4 files changed

+1544
-10
lines changed

4 files changed

+1544
-10
lines changed

src/machine/board_itsybitsy-m0.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ const (
3434
LED = D13
3535
)
3636

37-
// UART0 pins
37+
// UART0 aka USBCDC pins
38+
const (
39+
USBCDC_DM_PIN = 24
40+
USBCDC_DP_PIN = 25
41+
)
42+
43+
// UART1 pins
3844
const (
3945
UART_TX_PIN = D1
4046
UART_RX_PIN = D0

0 commit comments

Comments
 (0)