Skip to content

Commit 6a5e4e6

Browse files
committed
turn off terminalio in a few more builds for space
1 parent 509ddf2 commit 6a5e4e6

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,13 @@ CIRCUITPY_CANIO = 1
1515
CIRCUITPY_SYNTHIO = 0
1616

1717
CIRCUITPY_LTO_PARTITION = one
18+
19+
# We don't have room for the fonts for terminalio for certain languages,
20+
# so turn off terminalio, and if it's off and displayio is on,
21+
# force a clean build.
22+
# Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
23+
# ifeq, because it's not set yet.
24+
ifneq (,$(filter $(TRANSLATION),ja ko ru))
25+
CIRCUITPY_TERMINALIO = 0
26+
RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO)
27+
endif

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@ LONGINT_IMPL = MPZ
1212

1313
CIRCUITPY__EVE = 1
1414
CIRCUITPY_SYNTHIO = 0
15+
16+
# We don't have room for the fonts for terminalio for certain languages,
17+
# so turn off terminalio, and if it's off and displayio is on,
18+
# force a clean build.
19+
# Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
20+
# ifeq, because it's not set yet.
21+
ifneq (,$(filter $(TRANSLATION),ja ko ru))
22+
CIRCUITPY_TERMINALIO = 0
23+
RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO)
24+
endif

0 commit comments

Comments
 (0)