Skip to content

Commit 12c0142

Browse files
committed
MicroPython: fix support for machine module
1 parent f4dda6b commit 12c0142

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)