add syscalls.c if autoshift is enabled, to fix compile issue on ChibiOS

cb2x1800
U-LANDSRAAD\drashna 7 years ago committed by Jack Humbert
parent 34580baccf
commit b23d2a68dc

@ -30,6 +30,9 @@ endif
ifeq ($(PLATFORM),CHIBIOS) ifeq ($(PLATFORM),CHIBIOS)
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/eeprom.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 endif
ifeq ($(PLATFORM),TEST) ifeq ($(PLATFORM),TEST)

Loading…
Cancel
Save