summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-04-12 16:18:08 -0700
committerScott Shawcroft <scott@tannewt.org>2019-04-12 16:18:08 -0700
commitdefc6dceb0c018bc67a4041f91a2f277eebb4dbc (patch)
tree529cdec629a46b9462ab6f0802b4815b96743deb
parent5d205b6749da1118ad3ad54ea87b4208c7ec4904 (diff)
Slim down feather m0 express
-rw-r--r--ports/atmel-samd/boards/feather_m0_express/mpconfigboard.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/atmel-samd/boards/feather_m0_express/mpconfigboard.mk b/ports/atmel-samd/boards/feather_m0_express/mpconfigboard.mk
index 301e7419f..a6190267d 100644
--- a/ports/atmel-samd/boards/feather_m0_express/mpconfigboard.mk
+++ b/ports/atmel-samd/boards/feather_m0_express/mpconfigboard.mk
@@ -11,3 +11,8 @@ LONGINT_IMPL = MPZ
CHIP_VARIANT = SAMD21G18A
CHIP_FAMILY = samd21
+
+# Tweak inlining depending on language.
+ifeq ($(TRANSLATION), zh_Latn_pinyin)
+CFLAGS_INLINE_LIMIT = 60
+endif