21 строка
261 Б
Go
21 строка
261 Б
Go
//go:build stm32l0x1
|
|
// +build stm32l0x1
|
|
|
|
package runtime
|
|
|
|
import (
|
|
"device/stm32"
|
|
"machine"
|
|
)
|
|
|
|
const (
|
|
FlashLatency = stm32.Flash_ACR_LATENCY_WS1
|
|
)
|
|
|
|
func init() {
|
|
initCLK()
|
|
|
|
machine.Serial.Configure(machine.UARTConfig{})
|
|
|
|
initTickTimer(&machine.TIM21)
|
|
}
|