Dedupe I2C, SPI, UART driver inclusions (#22253)
This commit is contained in:
parent
f150258e5a
commit
c157c19b81
130 changed files with 284 additions and 249 deletions
|
|
@ -14,5 +14,5 @@ SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard
|
|||
RGBLIGHT_ENABLE = no
|
||||
|
||||
# project specific files
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
SRC += matrix.c
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Keyboard matrix uses shift-registers read via SPI
|
||||
CUSTOM_MATRIX = lite
|
||||
SRC += matrix.c
|
||||
QUANTUM_LIB_SRC += spi_master.c
|
||||
SPI_DRIVER_REQUIRED = yes
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ CUSTOM_MATRIX = lite
|
|||
# alternate usb endpoints.
|
||||
RAW_ENABLE = yes
|
||||
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
SRC += matrix.c
|
||||
|
||||
DEFAULT_FOLDER = handwired/dygma/raise/ansi
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@ AUDIO_ENABLE = no # Audio output
|
|||
RGBLIGHT_ENABLE = no
|
||||
|
||||
# project specific files
|
||||
SRC = i2c_master.c \
|
||||
matrix.c
|
||||
SRC = matrix.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
|
|
|||
|
|
@ -14,4 +14,5 @@ UNICODE_ENABLE = yes
|
|||
SPLIT_KEYBOARD = yes
|
||||
SPLIT_TRANSPORT = custom
|
||||
|
||||
SRC += transport.c spi_master.c
|
||||
SRC += transport.c
|
||||
SPI_DRIVER_REQUIRED = yes
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
OLED_ENABLE = yes
|
||||
|
||||
OPT_DEFS += -DHAL_USE_I2C=TRUE
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
CONSOLE_ENABLE = yes
|
||||
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@ CUSTOM_MATRIX = yes
|
|||
BLUETOOTH_ENABLE = yes
|
||||
|
||||
SRC += matrix.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue