aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime_stm32l0x2.go
blob: 83f76e5a794f8ba1475225c8e20bf50d86aa9252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//go:build stm32l0x2

package runtime

import (
	"device/stm32"
	"machine"
)

const (
	FlashLatency = stm32.Flash_ACR_LATENCY_WS1
)

func init() {
	initCLK()

	machine.InitSerial()

	initTickTimer(&machine.TIM3)
}