diff options
author | zvecr <git@zvecr.com> | 2020-01-24 14:11:01 +0000 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | 6defb96175c48fed22c91354ad2894ade2fe0b1a (patch) | |
tree | ccf3bcebac78810787c275b6e85699c7527e042c | |
parent | cc9befe283b02ad591043e6992d59c717fc8d61e (diff) |
Remove compilation of i2c for arm split
-rw-r--r-- | common_features.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common_features.mk b/common_features.mk index c246094bca..282ab7c118 100644 --- a/common_features.mk +++ b/common_features.mk @@ -475,8 +475,10 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes) QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. - QUANTUM_LIB_SRC += i2c_master.c \ - i2c_slave.c + ifeq ($(PLATFORM),AVR) + QUANTUM_LIB_SRC += i2c_master.c \ + i2c_slave.c + endif SERIAL_DRIVER ?= bitbang ifeq ($(strip $(SERIAL_DRIVER)), bitbang) |