mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
11 lines
213 B
Go
11 lines
213 B
Go
//go:build baremetal && serial.uart
|
|
|
|
package machine
|
|
|
|
// Serial is implemented via the default (usually the first) UART on the chip.
|
|
var Serial = DefaultUART
|
|
|
|
func InitSerial() {
|
|
Serial.Configure(UARTConfig{})
|
|
}
|