File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,7 @@ ifndef CIRCUITPY_DISPLAYIO
69
69
CIRCUITPY_DISPLAYIO = 1
70
70
endif
71
71
72
- ifndef MICROPY_CPYTHON_COMPAT
73
- MICROPY_CPYTHON_COMPAT = 1
74
- endif
72
+ CFLAGS += -DMICROPY_CPYTHON_COMPAT=1
75
73
76
74
# ifeq ($(MCU_SUB_VARIANT), stm32f412zx)
77
75
# endif
Original file line number Diff line number Diff line change @@ -182,7 +182,10 @@ typedef long mp_off_t;
182
182
183
183
// Remove some lesser-used functionality to make small builds fit.
184
184
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (CIRCUITPY_FULL_BUILD)
185
- #define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
185
+ //TODO: replace this with a rework of the FULL_BUILD system
186
+ #if !defined(MICROPY_CPYTHON_COMPAT )
187
+ #define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
188
+ #endif
186
189
#define MICROPY_MODULE_WEAK_LINKS (CIRCUITPY_FULL_BUILD)
187
190
#define MICROPY_PY_ALL_SPECIAL_METHODS (CIRCUITPY_FULL_BUILD)
188
191
#define MICROPY_PY_BUILTINS_COMPLEX (CIRCUITPY_FULL_BUILD)
You can’t perform that action at this time.
0 commit comments