From 36ce81df592ca8e9f9fed498e513437aa1cae54f Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Mar 2023 18:22:12 +1100 Subject: Move `WS2812_DRIVER` to data driven (#20248) --- keyboards/xelus/ninjin/info.json | 3 +++ keyboards/xelus/ninjin/rules.mk | 2 -- keyboards/xelus/valor/rev2/info.json | 3 +++ keyboards/xelus/valor/rev2/rules.mk | 1 - keyboards/xelus/xs60/hotswap/rules.mk | 1 - keyboards/xelus/xs60/soldered/rules.mk | 1 - 6 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/xelus') diff --git a/keyboards/xelus/ninjin/info.json b/keyboards/xelus/ninjin/info.json index 247ce43eca..bfb0038e89 100644 --- a/keyboards/xelus/ninjin/info.json +++ b/keyboards/xelus/ninjin/info.json @@ -8,6 +8,9 @@ "pid": "0x4E4A", "device_version": "0.0.1" }, + "ws2812": { + "driver": "pwm" + }, "matrix_pins": { "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "B6", "B5"], "rows": ["B4", "B3", "A15", "A3", "B9", "B8"] diff --git a/keyboards/xelus/ninjin/rules.mk b/keyboards/xelus/ninjin/rules.mk index 3d8c7c0af8..ead22f6c15 100644 --- a/keyboards/xelus/ninjin/rules.mk +++ b/keyboards/xelus/ninjin/rules.mk @@ -11,7 +11,5 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -WS2812_DRIVER = pwm - # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE diff --git a/keyboards/xelus/valor/rev2/info.json b/keyboards/xelus/valor/rev2/info.json index 226e61d3b4..c2bafd3754 100644 --- a/keyboards/xelus/valor/rev2/info.json +++ b/keyboards/xelus/valor/rev2/info.json @@ -8,6 +8,9 @@ "pid": "0x5653", "device_version": "0.0.1" }, + "ws2812": { + "driver": "pwm" + }, "matrix_pins": { "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "A13", "B7", "B6", "B5", "B4", "B3", "A15", "A14"], "rows": ["B11", "B10", "A3", "A1", "A2"] diff --git a/keyboards/xelus/valor/rev2/rules.mk b/keyboards/xelus/valor/rev2/rules.mk index 47560d7f15..19af3d61b9 100644 --- a/keyboards/xelus/valor/rev2/rules.mk +++ b/keyboards/xelus/valor/rev2/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = WS2812 RGB_MATRIX_CUSTOM_KB = yes -WS2812_DRIVER = pwm EEPROM_DRIVER = i2c OPT = 2 diff --git a/keyboards/xelus/xs60/hotswap/rules.mk b/keyboards/xelus/xs60/hotswap/rules.mk index b58e18c74f..4819456d51 100644 --- a/keyboards/xelus/xs60/hotswap/rules.mk +++ b/keyboards/xelus/xs60/hotswap/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = no # Audio output EEPROM_DRIVER = i2c RGBLIGHT_ENABLE = yes -WS2812_DRIVER = bitbang LTO_ENABLE = yes OPT = 2 diff --git a/keyboards/xelus/xs60/soldered/rules.mk b/keyboards/xelus/xs60/soldered/rules.mk index b58e18c74f..4819456d51 100644 --- a/keyboards/xelus/xs60/soldered/rules.mk +++ b/keyboards/xelus/xs60/soldered/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = no # Audio output EEPROM_DRIVER = i2c RGBLIGHT_ENABLE = yes -WS2812_DRIVER = bitbang LTO_ENABLE = yes OPT = 2 -- cgit v1.2.3