mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 21:13:39 +00:00
15 lines
179 B
Go
15 lines
179 B
Go
//go:build stm32u0
|
|
|
|
package runtime
|
|
|
|
import "machine"
|
|
|
|
func init() {
|
|
machine.InitSerial()
|
|
initTickTimer(&machine.TIM16)
|
|
}
|
|
|
|
func putchar(c byte) {
|
|
machine.Serial.WriteByte(c)
|
|
}
|