diff options
author | Joel Challis <git@zvecr.com> | 2020-02-29 22:45:21 +0000 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-03-26 00:42:14 -0700 |
commit | 4f5daf452861f4c42d60fa8eb49bd8db0a7e29fa (patch) | |
tree | 4a713a7f8ff7bb3e0ae78a8043e4af94b6456c2d /tmk_core/chibios.mk | |
parent | f713abefb9408a3243003604b6536537042c592a (diff) |
Unconditionally enable ChibiOS syscalls (#8268)
* Enable syscalls all the time
* fix whitespace
Diffstat (limited to 'tmk_core/chibios.mk')
-rw-r--r-- | tmk_core/chibios.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk index f9e52aed23..fcc5de183d 100644 --- a/tmk_core/chibios.mk +++ b/tmk_core/chibios.mk @@ -122,9 +122,10 @@ CHIBISRC = $(STARTUPSRC) \ $(PLATFORMSRC) \ $(BOARDSRC) \ $(STREAMSSRC) \ - $(STARTUPASM) \ - $(PORTASM) \ - $(OSALASM) + $(CHIBIOS)/os/various/syscalls.c + +# Ensure the ASM files are not subjected to LTO -- it'll strip out interrupt handlers otherwise. +QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM) CHIBISRC := $(patsubst $(TOP_DIR)/%,%,$(CHIBISRC)) |