add syscalls.c if autoshift is enabled, to fix compile issue on ChibiOS
This commit is contained in:
parent
34580baccf
commit
b23d2a68dc
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue