mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
19 lines
185 B
Go
19 lines
185 B
Go
//go:build stm32
|
|
|
|
package runtime
|
|
|
|
import "device/arm"
|
|
|
|
type timeUnit int64
|
|
|
|
//export Reset_Handler
|
|
func main() {
|
|
preinit()
|
|
run()
|
|
exit(0)
|
|
}
|
|
|
|
func waitForEvents() {
|
|
arm.Asm("wfe")
|
|
}
|