machine: add support for the STM32U031 chip

This commit is contained in:
Ayke van Laethem
2026-05-11 16:54:48 +02:00
committed by Ron Evans
parent a7b30639d8
commit 05029c4fb5
15 changed files with 402 additions and 10 deletions
+14
View File
@@ -0,0 +1,14 @@
//go:build stm32u0
package runtime
import "machine"
func init() {
machine.InitSerial()
initTickTimer(&machine.TIM16)
}
func putchar(c byte) {
machine.Serial.WriteByte(c)
}