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
+4
View File
@@ -7,6 +7,10 @@ import (
"unsafe"
)
var (
UART0 = NRF_UART0
)
func CPUFrequency() uint32 {
return 64000000
}