Skip to content

Commit

Permalink
Merge pull request #7995 from zvecr/feature/split_arm_i2c_remove
Browse files Browse the repository at this point in the history
Remove compilation of i2c for arm split
  • Loading branch information
zvecr committed Jan 27, 2020
2 parents 7342c33 + 6efcfaa commit 0804f0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,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)
Expand Down

0 comments on commit 0804f0a

Please sign in to comment.