From f229144a31f20869f1fefea813f8705608d762bb Mon Sep 17 00:00:00 2001 From: zvecr Date: Mon, 18 Jan 2021 23:58:22 +0000 Subject: [PATCH] Switch to nano specs on ChibiOS builds - Round 2 --- tmk_core/chibios.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk index 3f426cbb82f8..40595a1e3b28 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