diff options
| author | Damien George <damien@micropython.org> | 2024-03-14 11:01:33 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-15 12:04:34 +1100 |
| commit | dd134e4836ceee23234b35279bb120259b350787 (patch) | |
| tree | 21b947585b7669dde53ae2adf0ec800acfc08498 /py/mpconfig.h | |
| parent | 23ccbcf23043be5e621a4e49b7dd4549af4239fc (diff) | |
extmod/modmachine: Add MICROPY_PY_MACHINE_MEMX configuration option.
Enabled by default.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 8b49c9ca0..182115ed7 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -1702,6 +1702,11 @@ typedef double mp_float_t; #define MICROPY_PY_MACHINE_PULSE (0) #endif +// Whether to provide the "machine.mem8/16/32" objects +#ifndef MICROPY_PY_MACHINE_MEMX +#define MICROPY_PY_MACHINE_MEMX (MICROPY_PY_MACHINE) +#endif + // Whether to provide the "machine.Signal" class #ifndef MICROPY_PY_MACHINE_SIGNAL #define MICROPY_PY_MACHINE_SIGNAL (MICROPY_PY_MACHINE) |
