summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-12-20 11:42:32 -0800
committerScott Shawcroft <scott@tannewt.org>2019-12-20 11:43:56 -0800
commitb859e2b71013f603bb91539a62ada4e0eee15d48 (patch)
tree36b233a4645c0fdf0a62ad5780461b733d59771a /py
parent5fc20145d1966e367c2e304a4a3359f625f17bcf (diff)
Remove `re` from CPX Displayio build to make space.
Diffstat (limited to 'py')
-rw-r--r--py/circuitpy_mpconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 3161938c4..932d4f855 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -193,7 +193,9 @@ typedef long mp_off_t;
#define MICROPY_PY_UERRNO (CIRCUITPY_FULL_BUILD)
// Opposite setting is deliberate.
#define MICROPY_PY_UERRNO_ERRORCODE (!CIRCUITPY_FULL_BUILD)
+#ifndef MICROPY_PY_URE
#define MICROPY_PY_URE (CIRCUITPY_FULL_BUILD)
+#endif
#define MICROPY_PY_URE_MATCH_GROUPS (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_URE_MATCH_SPAN_START_END (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_URE_SUB (CIRCUITPY_FULL_BUILD)