mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-15 08:52:57 +00:00
test: run ESP32 programs in QEMU
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
//go:build esp32 && !qemu
|
||||
|
||||
package runtime
|
||||
|
||||
import "device"
|
||||
|
||||
func abort() {
|
||||
for {
|
||||
device.Asm("waiti 0")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user