We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4dda6b commit 12c0142Copy full SHA for 12c0142
1 file changed
advanced/micropython/port-riscv-emu.py/modmachine_port.c
@@ -0,0 +1,7 @@
1
+// Imported via MICROPY_PY_MACHINE_INCLUDEFILE in mpconfigport.h
2
+
3
+// Provide mp_machine_idle implementation
4
+static void mp_machine_idle(void) {
5
+ // In a real embedded system, this would execute WFI (Wait For Interrupt)
6
+ // For the emulator, we just return immediately
7
+}
0 commit comments