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

package runtime

import (
	"device/stm32"
	"machine"
)

const (
	FlashLatency = stm32.Flash_ACR_LATENCY_WS1
)

func init() {
	initCLK()

	machine.InitSerial()

	initTickTimer(&machine.TIM21)
}