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