nrf52840: implement USB-CDC (#883)

* machine/nrf52840: usb-cdc implementation
This commit is contained in:
Scott Yoder
2020-02-17 09:14:24 -05:00
committed by GitHub
parent d11abb33fe
commit 630c498efa
10 changed files with 603 additions and 4 deletions
+5
View File
@@ -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