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

package runtime

import (
	"device/stm32"
	"machine"
)

const (
	FlashLatency = stm32.Flash_ACR_LATENCY_WS1
)

func init() {
	initCLK()

	machine.InitSerial()

	initTickTimer(&machine.TIM3)
}