interrupt/esp32c3: add Enable stub for QEMU test target

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2026-04-01 10:46:06 +02:00
parent 2fd44ac341
commit bd8de8719f
@@ -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 }