Skip to content

Commit d60a780

Browse files
committed
another board to disable fonts on
1 parent dd96405 commit d60a780

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

+10
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,13 @@ CIRCUITPY_PARALLELDISPLAYBUS= 0
2121
CIRCUITPY_STAGE = 1
2222

2323
FROZEN_MPY_DIRS += $(TOP)/frozen/circuitpython-stage/pybadge
24+
25+
# We don't have room for the fonts for terminalio for certain languages,
26+
# so turn off terminalio, and if it's off and displayio is on,
27+
# force a clean build.
28+
# Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
29+
# ifeq, because it's not set yet.
30+
ifneq (,$(filter $(TRANSLATION),ja ko ru))
31+
CIRCUITPY_TERMINALIO = 0
32+
RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO)
33+
endif

0 commit comments

Comments
 (0)