From 14c2f671cbf4e81336b04eae95933b6fcc2ddcb0 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 19 Jan 2021 23:27:21 +0000 Subject: [PATCH] Switch to nano specs on ChibiOS builds - Round 2 (#11607) --- tmk_core/chibios.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk index 3f426cbb8..40595a1e3 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