summaryrefslogtreecommitdiff
path: root/keyboards/handwired/macroboard
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-26 18:22:12 +1100
committerGitHub <noreply@github.com>2023-03-26 18:22:12 +1100
commit36ce81df592ca8e9f9fed498e513437aa1cae54f (patch)
tree5d1eb5bec831a7037d97b43babfee78c6fbf47cb /keyboards/handwired/macroboard
parent7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff)
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/handwired/macroboard')
-rw-r--r--keyboards/handwired/macroboard/f401/info.json3
-rw-r--r--keyboards/handwired/macroboard/f401/rules.mk1
-rw-r--r--keyboards/handwired/macroboard/f411/info.json3
-rw-r--r--keyboards/handwired/macroboard/f411/rules.mk1
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/handwired/macroboard/f401/info.json b/keyboards/handwired/macroboard/f401/info.json
index e14cb41fd3..5108d8ce50 100644
--- a/keyboards/handwired/macroboard/f401/info.json
+++ b/keyboards/handwired/macroboard/f401/info.json
@@ -4,6 +4,9 @@
"rows": ["A4", "A3", "A2", "A1", "A0"]
},
"diode_direction": "COL2ROW",
+ "ws2812": {
+ "driver": "pwm"
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F401"
diff --git a/keyboards/handwired/macroboard/f401/rules.mk b/keyboards/handwired/macroboard/f401/rules.mk
index 65dc4b89cd..bc0cd6b97f 100644
--- a/keyboards/handwired/macroboard/f401/rules.mk
+++ b/keyboards/handwired/macroboard/f401/rules.mk
@@ -9,6 +9,5 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-WS2812_DRIVER = pwm
AUDIO_ENABLE = no # Audio output
KEYBOARD_SHARED_EP = yes
diff --git a/keyboards/handwired/macroboard/f411/info.json b/keyboards/handwired/macroboard/f411/info.json
index a912b9f141..d7ff61f52b 100644
--- a/keyboards/handwired/macroboard/f411/info.json
+++ b/keyboards/handwired/macroboard/f411/info.json
@@ -4,6 +4,9 @@
"rows": ["A15", "B3", "B4", "B5", "B7"]
},
"diode_direction": "COL2ROW",
+ "ws2812": {
+ "driver": "pwm"
+ },
"processor": "STM32F411",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F411"
diff --git a/keyboards/handwired/macroboard/f411/rules.mk b/keyboards/handwired/macroboard/f411/rules.mk
index 2c7c409197..cdf33bfea5 100644
--- a/keyboards/handwired/macroboard/f411/rules.mk
+++ b/keyboards/handwired/macroboard/f411/rules.mk
@@ -9,7 +9,6 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-WS2812_DRIVER = pwm
AUDIO_ENABLE = yes # Audio output
AUDIO_DRIVER = pwm_hardware
KEYBOARD_SHARED_EP = yes