aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/serial-uart.go
blob: e9388659d0889b27420d9165c28af93f9b2fec4f (plain)
1
2
3
4
5
6
7
8
9
10
//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{})
}