1
0
Fork 0

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

This commit is contained in:
U-LANDSRAAD\drashna 2018-03-25 09:53:56 -07:00 committed by Jack Humbert
parent 34580baccf
commit b23d2a68dc
1 changed files with 3 additions and 0 deletions

View File

@ -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)