mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 23:43:40 +00:00
interrupt/esp32c3: add Enable stub for QEMU test target
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -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 }
|
||||||
Reference in New Issue
Block a user