blob: 7fb332f99ba51a914336401a573867e433cacf72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//go:build stm32
// +build stm32
package runtime
import "device/arm"
type timeUnit int64
//export Reset_Handler
func main() {
preinit()
run()
exit(0)
}
func waitForEvents() {
arm.Asm("wfe")
}
|