mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 11:33:59 +00:00
nrf52840: implement USB-CDC (#883)
* machine/nrf52840: usb-cdc implementation
This commit is contained in:
@@ -103,6 +103,11 @@ const (
|
||||
UART_TX_PIN = D1
|
||||
)
|
||||
|
||||
// UART0 is the USB device
|
||||
var (
|
||||
UART0 = USB
|
||||
)
|
||||
|
||||
// I2C pins
|
||||
const (
|
||||
SDA_PIN = D20 // I2C0 external
|
||||
|
||||
Reference in New Issue
Block a user