summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-03-20 14:36:24 -0400
committerDan Halbert <halbert@halwitz.org>2019-03-20 14:36:24 -0400
commitfbf166af1abbc2a9ac690071afbd0152c4686285 (patch)
tree9ebc1c4f34a8a22dcc6504ac66d1cf3aa9daedae /py
parent8543695f9d6117d758d0cece4a921ce9396d3948 (diff)
enable MICROPY_CPYTHON_COMPAT for most builds except CIRCUITPY_SMALL_BUILD; remove a few other things to make fit
Diffstat (limited to 'py')
-rw-r--r--py/circuitpy_mpconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 00f3c7b3f..b867c0186 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -177,6 +177,7 @@ typedef long mp_off_t;
// Remove some lesser-used functionality to make small builds fit.
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (CIRCUITPY_FULL_BUILD)
+#define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
#define MICROPY_MODULE_WEAK_LINKS (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_ALL_SPECIAL_METHODS (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_BUILTINS_COMPLEX (CIRCUITPY_FULL_BUILD)