summaryrefslogtreecommitdiff
path: root/tmk_core/chibios.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-01-18 04:45:21 +1100
committerDrashna Jael're <drashna@live.com>2021-02-02 09:42:02 -0800
commita0555ae233029c9f58e48117c34d6ac8ca5cba63 (patch)
treeece176be4e0f59a3cb6bab4497be0d38ef95b3d2 /tmk_core/chibios.mk
parent3e1f25806b682638404b7639f2dd65859515168e (diff)
Add syscall fallbacks to ChibiOS builds (#11573)
* Add fallback syscalls to ChibiOS builds that are present but able to be overridden as appropriate. * Modified location to be ChibiOS-specific.
Diffstat (limited to 'tmk_core/chibios.mk')
-rw-r--r--tmk_core/chibios.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk
index 733f2d60fe..e94e935ebb 100644
--- a/tmk_core/chibios.mk
+++ b/tmk_core/chibios.mk
@@ -204,7 +204,8 @@ CHIBISRC = $(STARTUPSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(STREAMSSRC) \
- $(CHIBIOS)/os/various/syscalls.c
+ $(CHIBIOS)/os/various/syscalls.c \
+ $(PLATFORM_COMMON_DIR)/syscall-fallbacks.c
# Ensure the ASM files are not subjected to LTO -- it'll strip out interrupt handlers otherwise.
QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM) $(PLATFORMASM)