From b23d2a68dc935a9acd709b703d33fbebdd2a18e5 Mon Sep 17 00:00:00 2001 From: "U-LANDSRAAD\\drashna" Date: Sun, 25 Mar 2018 09:53:56 -0700 Subject: add syscalls.c if autoshift is enabled, to fix compile issue on ChibiOS --- tmk_core/common.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmk_core') diff --git a/tmk_core/common.mk b/tmk_core/common.mk index f120735250..3e407f1573 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -30,6 +30,9 @@ endif ifeq ($(PLATFORM),CHIBIOS) TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/eeprom.c + ifeq ($(strip $(AUTO_SHIFT_ENABLE)), yes) + TMK_COMMON_SRC += $(CHIBIOS)/os/various/syscalls.c + endif endif ifeq ($(PLATFORM),TEST) -- cgit v1.2.3