File tree Expand file tree Collapse file tree
ports/atmel-samd/boards/pewpew_m4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ CIRCUITPY_PWMIO = 0
3030CIRCUITPY_RAINBOWIO = 0
3131CIRCUITPY_ROTARYIO = 0
3232CIRCUITPY_RTC = 0
33- CIRCUITPY_SAFEMODE_PY = 0
3433CIRCUITPY_SAMD = 0
3534CIRCUITPY_TOUCHIO = 0
3635CIRCUITPY_USB_HID = 0
@@ -54,3 +53,13 @@ CIRCUITPY_DISPLAY_FONT = $(TOP)/ports/atmel-samd/boards/ugame10/brutalist-6.bdf
5453
5554# Override optimization to keep binary small
5655OPTIMIZATION_FLAGS = -Os
56+
57+ # We don't have room for the fonts for terminalio for certain languages,
58+ # so turn off terminalio, and if it's off and displayio is on,
59+ # force a clean build.
60+ # Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
61+ # ifeq, because it's not set yet.
62+ ifneq (,$(filter $(TRANSLATION ) ,ja ko ru) )
63+ CIRCUITPY_TERMINALIO = 0
64+ RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO )
65+ endif
You can’t perform that action at this time.
0 commit comments