summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-01-19 23:27:21 +0000
committerGitHub <noreply@github.com>2021-01-20 10:27:21 +1100
commit14c2f671cbf4e81336b04eae95933b6fcc2ddcb0 (patch)
treedaddb81b663626db1674cb5c64f2e7d1f38dfdf7
parent9e18f41fcf46a268e01754a2743e67fb50deaa1d (diff)
Switch to nano specs on ChibiOS builds - Round 2 (#11607)
-rw-r--r--tmk_core/chibios.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk
index 3f426cbb82..40595a1e3b 100644
--- a/tmk_core/chibios.mk
+++ b/tmk_core/chibios.mk
@@ -312,6 +312,7 @@ LDFLAGS += -mno-thumb-interwork -mthumb
LDSYMBOLS =,--defsym=__process_stack_size__=$(USE_PROCESS_STACKSIZE)
LDSYMBOLS :=$(LDSYMBOLS),--defsym=__main_stack_size__=$(USE_EXCEPTIONS_STACKSIZE)
LDFLAGS += -Wl,--script=$(LDSCRIPT)$(LDSYMBOLS)
+LDFLAGS += --specs=nano.specs
OPT_DEFS += -DPROTOCOL_CHIBIOS