summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-12 22:30:27 +0000
committerGitHub <noreply@github.com>2023-11-12 22:30:27 +0000
commite884e42ce98ad8994477deef26e6ad27b8b3643c (patch)
tree8e897e11952d488f8fc439db5b5aa7c5342faa9d /keyboards/handwired
parent786ebf87608dd4d7232cd0e66638382a55ceafa4 (diff)
Generalise ADC driver source inclusion (#22448)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/battleship_gamepad/rules.mk2
-rw-r--r--keyboards/handwired/onekey/keymaps/adc/rules.mk4
-rw-r--r--keyboards/handwired/onekey/nucleo_f446re/rules.mk1
-rw-r--r--keyboards/handwired/promethium/rules.mk3
4 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/handwired/battleship_gamepad/rules.mk b/keyboards/handwired/battleship_gamepad/rules.mk
index 7422e73873..a41273f890 100644
--- a/keyboards/handwired/battleship_gamepad/rules.mk
+++ b/keyboards/handwired/battleship_gamepad/rules.mk
@@ -1,5 +1,3 @@
-SRC += analog.c
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/handwired/onekey/keymaps/adc/rules.mk b/keyboards/handwired/onekey/keymaps/adc/rules.mk
index a691d5488f..8b36baccb0 100644
--- a/keyboards/handwired/onekey/keymaps/adc/rules.mk
+++ b/keyboards/handwired/onekey/keymaps/adc/rules.mk
@@ -1,3 +1,3 @@
-SRC += analog.c
-
CONSOLE_ENABLE = yes
+
+ANALOG_DRIVER_REQUIRED = yes
diff --git a/keyboards/handwired/onekey/nucleo_f446re/rules.mk b/keyboards/handwired/onekey/nucleo_f446re/rules.mk
index 8515c3fae0..e69de29bb2 100644
--- a/keyboards/handwired/onekey/nucleo_f446re/rules.mk
+++ b/keyboards/handwired/onekey/nucleo_f446re/rules.mk
@@ -1 +0,0 @@
-SRC += analog.c
diff --git a/keyboards/handwired/promethium/rules.mk b/keyboards/handwired/promethium/rules.mk
index 609c4d0e7e..d6b97ed810 100644
--- a/keyboards/handwired/promethium/rules.mk
+++ b/keyboards/handwired/promethium/rules.mk
@@ -18,10 +18,11 @@ PS2_ENABLE = yes
PS2_DRIVER = interrupt
CUSTOM_MATRIX = yes
BLUETOOTH_ENABLE = yes
+
WS2812_DRIVER_REQUIRED = yes
+ANALOG_DRIVER_REQUIRED = yes
SRC += rgbsps.c
-SRC += analog.c
SRC += matrix.c
LTO_ENABLE = yes