File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
ports/atmel-samd/boards/pewpew_m4 Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ CIRCUITPY_PWMIO = 0
30
30
CIRCUITPY_RAINBOWIO = 0
31
31
CIRCUITPY_ROTARYIO = 0
32
32
CIRCUITPY_RTC = 0
33
- CIRCUITPY_SAFEMODE_PY = 0
34
33
CIRCUITPY_SAMD = 0
35
34
CIRCUITPY_TOUCHIO = 0
36
35
CIRCUITPY_USB_HID = 0
@@ -54,3 +53,13 @@ CIRCUITPY_DISPLAY_FONT = $(TOP)/ports/atmel-samd/boards/ugame10/brutalist-6.bdf
54
53
55
54
# Override optimization to keep binary small
56
55
OPTIMIZATION_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