Browse Source

Merge pull request #7995 from zvecr/feature/split_arm_i2c_remove

Remove compilation of i2c for arm split
pull/8042/head 0.7.125
Joel Challis 4 years ago
committed by GitHub
parent
commit
0804f0a5dd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      common_features.mk

+ 4
- 2
common_features.mk View File

@ -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)


Loading…
Cancel
Save