mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-26 05:06:42 +00:00
Unconditionally enable ChibiOS syscalls (#8268)
* Enable syscalls all the time * fix whitespace
This commit is contained in:
parent
cae91510dc
commit
8d9c800da0
@ -124,7 +124,8 @@ CHIBISRC = $(STARTUPSRC) \
|
|||||||
$(PLATFORMSRC) \
|
$(PLATFORMSRC) \
|
||||||
$(PLATFORMSRC_CONTRIB) \
|
$(PLATFORMSRC_CONTRIB) \
|
||||||
$(BOARDSRC) \
|
$(BOARDSRC) \
|
||||||
$(STREAMSSRC)
|
$(STREAMSSRC) \
|
||||||
|
$(CHIBIOS)/os/various/syscalls.c
|
||||||
|
|
||||||
# Ensure the ASM files are not subjected to LTO -- it'll strip out interrupt handlers otherwise.
|
# Ensure the ASM files are not subjected to LTO -- it'll strip out interrupt handlers otherwise.
|
||||||
QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM)
|
QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM)
|
||||||
|
@ -27,22 +27,12 @@ TMK_COMMON_SRC += $(COMMON_DIR)/host.c \
|
|||||||
|
|
||||||
ifeq ($(PLATFORM),AVR)
|
ifeq ($(PLATFORM),AVR)
|
||||||
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/xprintf.S
|
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/xprintf.S
|
||||||
endif
|
else ifeq ($(PLATFORM),CHIBIOS)
|
||||||
|
|
||||||
ifeq ($(PLATFORM),CHIBIOS)
|
|
||||||
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c
|
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c
|
||||||
ifeq ($(strip $(AUTO_SHIFT_ENABLE)), yes)
|
else ifeq ($(PLATFORM),ARM_ATSAM)
|
||||||
TMK_COMMON_SRC += $(CHIBIOS)/os/various/syscalls.c
|
|
||||||
else ifeq ($(strip $(TERMINAL_ENABLE)), yes)
|
|
||||||
TMK_COMMON_SRC += $(CHIBIOS)/os/various/syscalls.c
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(PLATFORM),ARM_ATSAM)
|
|
||||||
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c
|
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Option modules
|
# Option modules
|
||||||
BOOTMAGIC_ENABLE ?= no
|
BOOTMAGIC_ENABLE ?= no
|
||||||
VALID_MAGIC_TYPES := yes full lite
|
VALID_MAGIC_TYPES := yes full lite
|
||||||
|
Loading…
Reference in New Issue
Block a user