summaryrefslogtreecommitdiff
path: root/ports/unix/modmachine.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-11-24 09:35:42 +1100
committerDamien George <damien@micropython.org>2023-11-30 16:11:11 +1100
commite68aa40d2a6fa37fc551006f9c6f8928a75220a9 (patch)
treebd9088c285040e43a4abe70d261d93f8a1e86120 /ports/unix/modmachine.c
parent30a63a204dc6ad02c996d5c40c34b67c85c650e4 (diff)
extmod/modmachine: Add MICROPY_PY_MACHINE_PIN_BASE option.
And use it in qemu-arm, unix and windows ports to enable PinBase. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/unix/modmachine.c')
-rw-r--r--ports/unix/modmachine.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ports/unix/modmachine.c b/ports/unix/modmachine.c
index 9eacd5539..40d08d911 100644
--- a/ports/unix/modmachine.c
+++ b/ports/unix/modmachine.c
@@ -36,9 +36,6 @@
#define MICROPY_PAGE_MASK (MICROPY_PAGE_SIZE - 1)
#endif
-#define MICROPY_PY_MACHINE_EXTRA_GLOBALS \
- { MP_ROM_QSTR(MP_QSTR_PinBase), MP_ROM_PTR(&machine_pinbase_type) }, \
-
// This variable is needed for machine.soft_reset(), but the variable is otherwise unused.
int pyexec_system_exit = 0;