github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/machine/serial-usb.go (about)

     1  //go:build baremetal && serial.usb
     2  
     3  package machine
     4  
     5  // Serial is implemented via USB (USB-CDC).
     6  var Serial Serialer
     7  
     8  func InitSerial() {
     9  	Serial = USBCDC
    10  }