diff options
author | Joel Challis <git@zvecr.com> | 2020-01-27 22:40:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 22:40:32 +0000 |
commit | 0804f0a5dd08ed0807a67793ef329fa49ed5b16f (patch) | |
tree | 67f9207b2a26c0467632389bf42ba7bc1e280319 /common_features.mk | |
parent | 7342c335d287bf63c7615c5d752157ef5a790e0c (diff) | |
parent | 6efcfaa264e7df8ccfcf5ba6e33e4e648de664ae (diff) | |
download | qmk_firmware-0804f0a5dd08ed0807a67793ef329fa49ed5b16f.tar.gz qmk_firmware-0804f0a5dd08ed0807a67793ef329fa49ed5b16f.zip |
Merge pull request #7995 from zvecr/feature/split_arm_i2c_remove
Remove compilation of i2c for arm split
Diffstat (limited to 'common_features.mk')
-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 93c34c7d5..2c24eb28c 100644 --- a/common_features.mk +++ b/common_features.mk | |||
@@ -471,8 +471,10 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes) | |||
471 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c | 471 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c |
472 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. | 472 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. |
473 | # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. | 473 | # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. |
474 | QUANTUM_LIB_SRC += i2c_master.c \ | 474 | ifeq ($(PLATFORM),AVR) |
475 | i2c_slave.c | 475 | QUANTUM_LIB_SRC += i2c_master.c \ |
476 | i2c_slave.c | ||
477 | endif | ||
476 | 478 | ||
477 | SERIAL_DRIVER ?= bitbang | 479 | SERIAL_DRIVER ?= bitbang |
478 | ifeq ($(strip $(SERIAL_DRIVER)), bitbang) | 480 | ifeq ($(strip $(SERIAL_DRIVER)), bitbang) |