github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/runtime_stm32l0x1.go (about) 1 //go:build stm32l0x1 2 3 package runtime 4 5 import ( 6 "device/stm32" 7 "machine" 8 ) 9 10 const ( 11 FlashLatency = stm32.Flash_ACR_LATENCY_WS1 12 ) 13 14 func init() { 15 initCLK() 16 17 machine.InitSerial() 18 19 initTickTimer(&machine.TIM21) 20 }