machine/stm32: add support for stm32f103xx UART

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2018-12-13 16:12:33 +01:00
committed by Ayke van Laethem
parent a830451426
commit 47b667a4b8
6 changed files with 264 additions and 82 deletions
+3 -1
View File
@@ -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 {