mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 06:53:40 +00:00
generalize -scheduler=none to support most platforms
This commit is contained in:
@@ -17,12 +17,12 @@ const tickMicros = 1
|
||||
|
||||
var timestamp timeUnit
|
||||
|
||||
func postinit() {}
|
||||
|
||||
//go:export Reset_Handler
|
||||
func main() {
|
||||
preinit()
|
||||
initAll()
|
||||
go callMain()
|
||||
scheduler()
|
||||
run()
|
||||
arm.SemihostingCall(arm.SemihostingReportException, arm.SemihostingApplicationExit)
|
||||
abort()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user