Dedupe I2C, SPI, UART driver inclusions (#22253)

This commit is contained in:
Ryan
2023-10-13 17:25:32 +11:00
committed by GitHub
parent f150258e5a
commit c157c19b81
130 changed files with 284 additions and 249 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1 @@
OLED_ENABLE = yes
OPT_DEFS += -DHAL_USE_I2C=TRUE

View File

@@ -1,3 +1,3 @@
CONSOLE_ENABLE = yes
QUANTUM_LIB_SRC += i2c_master.c
I2C_DRIVER_REQUIRED = yes

View File

@@ -18,4 +18,4 @@ CUSTOM_MATRIX = yes
BLUETOOTH_ENABLE = yes
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c
I2C_DRIVER_REQUIRED = yes