summaryrefslogtreecommitdiff
path: root/keyboards/tkw
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/tkw
parent7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff)
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/tkw')
-rw-r--r--keyboards/tkw/grandiceps/info.json3
-rw-r--r--keyboards/tkw/grandiceps/rules.mk1
-rw-r--r--keyboards/tkw/stoutgat/v2/info.json3
-rw-r--r--keyboards/tkw/stoutgat/v2/rules.mk1
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/tkw/grandiceps/info.json b/keyboards/tkw/grandiceps/info.json
index 2e598c5b3b..eb913b40e7 100644
--- a/keyboards/tkw/grandiceps/info.json
+++ b/keyboards/tkw/grandiceps/info.json
@@ -6,6 +6,9 @@
"vid": "0xFEED",
"pid": "0x7812"
},
+ "ws2812": {
+ "driver": "pwm"
+ },
"matrix_pins": {
"cols": ["B0", "A7", "A3", "A5", "A4", "A2"],
"rows": ["B12", "A6", "B13", "B9", "B8"]
diff --git a/keyboards/tkw/grandiceps/rules.mk b/keyboards/tkw/grandiceps/rules.mk
index 1b481a9e1e..2565f116a1 100644
--- a/keyboards/tkw/grandiceps/rules.mk
+++ b/keyboards/tkw/grandiceps/rules.mk
@@ -17,7 +17,6 @@ SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart
OLED_ENABLE = yes
OLED_DRIVER = SSD1306
-WS2812_DRIVER = pwm
OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE
DEFAULT_FOLDER = tkw/grandiceps/rev1
diff --git a/keyboards/tkw/stoutgat/v2/info.json b/keyboards/tkw/stoutgat/v2/info.json
index f2067d6aed..928dd8acd7 100644
--- a/keyboards/tkw/stoutgat/v2/info.json
+++ b/keyboards/tkw/stoutgat/v2/info.json
@@ -8,6 +8,9 @@
"pid": "0x7811",
"device_version": "0.0.2"
},
+ "ws2812": {
+ "driver": "pwm"
+ },
"matrix_pins": {
"cols": ["B0", "A7", "A6", "A5", "A4", "A3", "A1", "A0", "C15", "C14", "C13", "A15", "B3", "B4", "B5"],
"rows": ["B6", "A2", "B7", "B9", "B8"]
diff --git a/keyboards/tkw/stoutgat/v2/rules.mk b/keyboards/tkw/stoutgat/v2/rules.mk
index 6dc2e4a634..477d680add 100644
--- a/keyboards/tkw/stoutgat/v2/rules.mk
+++ b/keyboards/tkw/stoutgat/v2/rules.mk
@@ -13,7 +13,6 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
ENCODER_ENABLE = yes # Enable rotary encoder support
AUDIO_ENABLE = no # Audio output
-WS2812_DRIVER = pwm
OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE
DEFAULT_FOLDER = tkw/stoutgat/v2/f411