github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/machine/serial-none.go (about) 1 //go:build baremetal && serial.none 2 3 package machine 4 5 // Serial is a null device: writes to it are ignored. 6 var Serial = NullSerial{} 7 8 func InitSerial() { 9 Serial.Configure(UARTConfig{}) 10 }