forked from mirror/qmk_firmware
Dedupe I2C, SPI, UART driver inclusions (#22253)
This commit is contained in:
@@ -7,4 +7,5 @@ COMMAND_ENABLE = yes
|
||||
# know what you're doing.
|
||||
#
|
||||
# No touchy, capiche?
|
||||
SRC += matrix.c i2c_master.c
|
||||
SRC += matrix.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
||||
@@ -14,4 +14,5 @@ CUSTOM_MATRIX = yes
|
||||
STENO_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
|
||||
SRC += matrix.c i2c_master.c
|
||||
SRC += matrix.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
@@ -18,7 +18,8 @@ DEBUG_MATRIX = no
|
||||
# know what you're doing.
|
||||
#
|
||||
# No touchy, capiche?
|
||||
SRC += matrix.c i2c_master.c
|
||||
SRC += matrix.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
ifneq ($(strip $(BALLSTEP)),)
|
||||
OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
|
||||
endif
|
||||
|
||||
@@ -18,7 +18,8 @@ DEBUG_MATRIX = yes
|
||||
# know what you're doing.
|
||||
#
|
||||
# No touchy, capiche?
|
||||
SRC += matrix.c i2c_master.c
|
||||
SRC += matrix.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
ifneq ($(strip $(BALLSTEP)),)
|
||||
OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
|
||||
endif
|
||||
|
||||
@@ -18,7 +18,8 @@ DEBUG_MATRIX = no
|
||||
# know what you're doing.
|
||||
#
|
||||
# No touchy, capiche?
|
||||
SRC += matrix.c i2c_master.c
|
||||
SRC += matrix.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
ifneq ($(strip $(BALLSTEP)),)
|
||||
OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
|
||||
endif
|
||||
|
||||
@@ -18,7 +18,8 @@ DEBUG_MATRIX = yes
|
||||
# know what you're doing.
|
||||
#
|
||||
# No touchy, capiche?
|
||||
SRC += matrix.c i2c_master.c
|
||||
SRC += matrix.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
ifneq ($(strip $(BALLSTEP)),)
|
||||
OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
|
||||
endif
|
||||
|
||||
@@ -8,4 +8,4 @@ COMMAND_ENABLE = yes
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
|
||||
SRC += matrix.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
||||
@@ -13,4 +13,4 @@ AUDIO_ENABLE = no # Audio output
|
||||
CUSTOM_MATRIX = yes
|
||||
|
||||
SRC += matrix.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
||||
Reference in New Issue
Block a user