mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 13:33:39 +00:00
machine/stm32: add support for stm32f103xx UART
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
committed by
Ayke van Laethem
parent
a830451426
commit
47b667a4b8
+3
-1
@@ -1,4 +1,4 @@
|
||||
// +build avr nrf
|
||||
// +build avr nrf stm32
|
||||
|
||||
package machine
|
||||
|
||||
@@ -6,6 +6,8 @@ import "errors"
|
||||
|
||||
type UARTConfig struct {
|
||||
BaudRate uint32
|
||||
TX uint8
|
||||
RX uint8
|
||||
}
|
||||
|
||||
type UART struct {
|
||||
|
||||
Reference in New Issue
Block a user