mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 20:43:40 +00:00
d65e3deccf
This reverts commit 644356c220.
22 lines
260 B
Go
22 lines
260 B
Go
//go:build stm32l0x2
|
|
// +build stm32l0x2
|
|
|
|
package runtime
|
|
|
|
import (
|
|
"device/stm32"
|
|
"machine"
|
|
)
|
|
|
|
const (
|
|
FlashLatency = stm32.Flash_ACR_LATENCY_WS1
|
|
)
|
|
|
|
func init() {
|
|
initCLK()
|
|
|
|
machine.Serial.Configure(machine.UARTConfig{})
|
|
|
|
initTickTimer(&machine.TIM3)
|
|
}
|