Skip to content

Commit b859e2b

Browse files
committed
Remove re from CPX Displayio build to make space.
1 parent 5fc2014 commit b859e2b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

ports/atmel-samd/boards/circuitplayground_express_displayio/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@
4343
// USB is always used internally so skip the pin objects for it.
4444
#define IGNORE_PIN_PA24 1
4545
#define IGNORE_PIN_PA25 1
46+
47+
#define MICROPY_PY_URE 0

ports/atmel-samd/boards/circuitplayground_express_displayio/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CIRCUITPY_GAMEPAD = 0
2020
CIRCUITPY_RTC = 0
2121

2222
SUPEROPT_GC = 0
23-
CFLAGS_INLINE_LIMIT = 35
23+
CFLAGS_INLINE_LIMIT = 55
2424

2525
# Include these Python libraries in firmware.
2626
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice

py/circuitpy_mpconfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ typedef long mp_off_t;
193193
#define MICROPY_PY_UERRNO (CIRCUITPY_FULL_BUILD)
194194
// Opposite setting is deliberate.
195195
#define MICROPY_PY_UERRNO_ERRORCODE (!CIRCUITPY_FULL_BUILD)
196+
#ifndef MICROPY_PY_URE
196197
#define MICROPY_PY_URE (CIRCUITPY_FULL_BUILD)
198+
#endif
197199
#define MICROPY_PY_URE_MATCH_GROUPS (CIRCUITPY_FULL_BUILD)
198200
#define MICROPY_PY_URE_MATCH_SPAN_START_END (CIRCUITPY_FULL_BUILD)
199201
#define MICROPY_PY_URE_SUB (CIRCUITPY_FULL_BUILD)

0 commit comments

Comments
 (0)