aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsago35 <[email protected]>2022-08-31 22:50:30 +0900
committerRon Evans <[email protected]>2022-09-01 19:22:01 +0200
commitedaf13f9513eef484b519047e8f51cb8a266190a (patch)
treeee201a1c8aa03112275d4c2b1ec68491e077ffba
parent5f6cf665f5dc82cfcd8d1ec308490340c429b13b (diff)
downloadtinygo-edaf13f9513eef484b519047e8f51cb8a266190a.tar.gz
tinygo-edaf13f9513eef484b519047e8f51cb8a266190a.zip
wioterminal: add UART3 for RTL8720DN
-rw-r--r--src/machine/board_wioterminal.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/machine/board_wioterminal.go b/src/machine/board_wioterminal.go
index 8132d2ca3..ad182c457 100644
--- a/src/machine/board_wioterminal.go
+++ b/src/machine/board_wioterminal.go
@@ -349,8 +349,11 @@ var (
UART1 = &sercomUSART2
- // RTL8720D
+ // RTL8720D (tx: PC22, rx: PC23)
UART2 = &sercomUSART1
+
+ // RTL8720D (tx: PB24, rx: PC24)
+ UART3 = &sercomUSART0
)
// I2C pins