Files
tinygo/src/runtime/runtime_stm32u585.go
deadprogram 47115f0380 machine/stm32: add STM32U585 target definition and runtime
Add processor target (cortex-m33), linker script (2048K flash, 768K RAM),
and arduino-uno-q board target. Runtime initializes 160MHz clock via PLL1
from HSI16, with PWR Range 1 and EPOD booster.

Also add psctype abstraction for timer PSC register width, needed because
the U5 SVD defines PSC as a 16-bit register.
2026-04-05 14:15:40 +02:00

16 lines
144 B
Go

//go:build stm32u585
package runtime
import (
"machine"
)
func init() {
initCLK()
machine.InitSerial()
initTickTimer(&machine.TIM16)
}