summaryrefslogtreecommitdiff
path: root/tmk_core/chibios.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-01-18 04:45:21 +1100
committerGitHub <noreply@github.com>2021-01-18 04:45:21 +1100
commite524e0a397efe3424cffe6e9d75be5dcf589b685 (patch)
tree243d95e4d327ffe87072d5bc90becd62262194ad /tmk_core/chibios.mk
parentda40242dbc2b03437774a58bb7b8d35f4b59a2cd (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)