From bd8de8719fc30c94f12cb9842a4eec3735a817bc Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 1 Apr 2026 10:46:06 +0200 Subject: [PATCH] interrupt/esp32c3: add Enable stub for QEMU test target Signed-off-by: deadprogram --- src/runtime/interrupt/interrupt_esp32c3_qemu.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/runtime/interrupt/interrupt_esp32c3_qemu.go diff --git a/src/runtime/interrupt/interrupt_esp32c3_qemu.go b/src/runtime/interrupt/interrupt_esp32c3_qemu.go new file mode 100644 index 000000000..039daf027 --- /dev/null +++ b/src/runtime/interrupt/interrupt_esp32c3_qemu.go @@ -0,0 +1,7 @@ +//go:build tinygo.riscv && esp32c3_qemu_target + +package interrupt + +// Enable is a no-op stub for the QEMU esp32c3 test target. +// Hardware interrupts are not needed when running tests under qemu-system-riscv32. +func (i Interrupt) Enable() error { return nil }