summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-13 17:25:32 +1100
committerGitHub <noreply@github.com>2023-10-13 17:25:32 +1100
commitc157c19b81fbd8b516de0eb5e854d278669cff1a (patch)
treec2670f9b71cbe95154126018683345afe5890b2c /keyboards/handwired
parentf150258e5ab6bf04c2e724389465f7a8ef5759ef (diff)
Dedupe I2C, SPI, UART driver inclusions (#22253)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/dactyl/rules.mk2
-rw-r--r--keyboards/handwired/dqz11n1g/rules.mk2
-rw-r--r--keyboards/handwired/dygma/raise/rules.mk2
-rw-r--r--keyboards/handwired/frenchdev/rules.mk4
-rw-r--r--keyboards/handwired/lagrange/rules.mk3
-rw-r--r--keyboards/handwired/onekey/kb2040/rules.mk2
-rw-r--r--keyboards/handwired/onekey/keymaps/i2c_scanner/rules.mk2
-rw-r--r--keyboards/handwired/pterodactyl/rules.mk2
8 files changed, 9 insertions, 10 deletions
diff --git a/keyboards/handwired/dactyl/rules.mk b/keyboards/handwired/dactyl/rules.mk
index 830812f79a..bffd901b04 100644
--- a/keyboards/handwired/dactyl/rules.mk
+++ b/keyboards/handwired/dactyl/rules.mk
@@ -14,5 +14,5 @@ SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard
14RGBLIGHT_ENABLE = no 14RGBLIGHT_ENABLE = no
15 15
16# project specific files 16# project specific files
17QUANTUM_LIB_SRC += i2c_master.c 17I2C_DRIVER_REQUIRED = yes
18SRC += matrix.c 18SRC += matrix.c
diff --git a/keyboards/handwired/dqz11n1g/rules.mk b/keyboards/handwired/dqz11n1g/rules.mk
index 23f6b89cc2..220e353ab7 100644
--- a/keyboards/handwired/dqz11n1g/rules.mk
+++ b/keyboards/handwired/dqz11n1g/rules.mk
@@ -1,7 +1,7 @@
1# Keyboard matrix uses shift-registers read via SPI 1# Keyboard matrix uses shift-registers read via SPI
2CUSTOM_MATRIX = lite 2CUSTOM_MATRIX = lite
3SRC += matrix.c 3SRC += matrix.c
4QUANTUM_LIB_SRC += spi_master.c 4SPI_DRIVER_REQUIRED = yes
5 5
6# Build Options 6# Build Options
7# change yes to no to disable 7# change yes to no to disable
diff --git a/keyboards/handwired/dygma/raise/rules.mk b/keyboards/handwired/dygma/raise/rules.mk
index 761e075500..ecf156629a 100644
--- a/keyboards/handwired/dygma/raise/rules.mk
+++ b/keyboards/handwired/dygma/raise/rules.mk
@@ -19,7 +19,7 @@ CUSTOM_MATRIX = lite
19# alternate usb endpoints. 19# alternate usb endpoints.
20RAW_ENABLE = yes 20RAW_ENABLE = yes
21 21
22QUANTUM_LIB_SRC += i2c_master.c 22I2C_DRIVER_REQUIRED = yes
23SRC += matrix.c 23SRC += matrix.c
24 24
25DEFAULT_FOLDER = handwired/dygma/raise/ansi 25DEFAULT_FOLDER = handwired/dygma/raise/ansi
diff --git a/keyboards/handwired/frenchdev/rules.mk b/keyboards/handwired/frenchdev/rules.mk
index c310966f1d..e226d0b517 100644
--- a/keyboards/handwired/frenchdev/rules.mk
+++ b/keyboards/handwired/frenchdev/rules.mk
@@ -13,5 +13,5 @@ AUDIO_ENABLE = no # Audio output
13RGBLIGHT_ENABLE = no 13RGBLIGHT_ENABLE = no
14 14
15# project specific files 15# project specific files
16SRC = i2c_master.c \ 16SRC = matrix.c
17 matrix.c 17I2C_DRIVER_REQUIRED = yes
diff --git a/keyboards/handwired/lagrange/rules.mk b/keyboards/handwired/lagrange/rules.mk
index 61bfdfa4d3..f4af87851c 100644
--- a/keyboards/handwired/lagrange/rules.mk
+++ b/keyboards/handwired/lagrange/rules.mk
@@ -14,4 +14,5 @@ UNICODE_ENABLE = yes
14SPLIT_KEYBOARD = yes 14SPLIT_KEYBOARD = yes
15SPLIT_TRANSPORT = custom 15SPLIT_TRANSPORT = custom
16 16
17SRC += transport.c spi_master.c 17SRC += transport.c
18SPI_DRIVER_REQUIRED = yes
diff --git a/keyboards/handwired/onekey/kb2040/rules.mk b/keyboards/handwired/onekey/kb2040/rules.mk
index 0e5631b02b..dd68e9d3b0 100644
--- a/keyboards/handwired/onekey/kb2040/rules.mk
+++ b/keyboards/handwired/onekey/kb2040/rules.mk
@@ -1,3 +1 @@
1OLED_ENABLE = yes OLED_ENABLE = yes
2
3OPT_DEFS += -DHAL_USE_I2C=TRUE
diff --git a/keyboards/handwired/onekey/keymaps/i2c_scanner/rules.mk b/keyboards/handwired/onekey/keymaps/i2c_scanner/rules.mk
index 04498a8831..3dec5cef29 100644
--- a/keyboards/handwired/onekey/keymaps/i2c_scanner/rules.mk
+++ b/keyboards/handwired/onekey/keymaps/i2c_scanner/rules.mk
@@ -1,3 +1,3 @@
1CONSOLE_ENABLE = yes 1CONSOLE_ENABLE = yes
2 2
3QUANTUM_LIB_SRC += i2c_master.c 3I2C_DRIVER_REQUIRED = yes
diff --git a/keyboards/handwired/pterodactyl/rules.mk b/keyboards/handwired/pterodactyl/rules.mk
index 9f0cabc750..108e1498a8 100644
--- a/keyboards/handwired/pterodactyl/rules.mk
+++ b/keyboards/handwired/pterodactyl/rules.mk
@@ -18,4 +18,4 @@ CUSTOM_MATRIX = yes
18BLUETOOTH_ENABLE = yes 18BLUETOOTH_ENABLE = yes
19 19
20SRC += matrix.c 20SRC += matrix.c
21QUANTUM_LIB_SRC += i2c_master.c 21I2C_DRIVER_REQUIRED = yes