1
0
Fork 0

Move RGB_MATRIX_DRIVER to data driven (#20350)

This commit is contained in:
Ryan 2023-04-08 18:08:08 +10:00 committed by GitHub
parent 10fc6c4cd6
commit 522048725f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
833 changed files with 1250 additions and 437 deletions

View file

@ -10,6 +10,9 @@
"pid": "0x000A",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B0", "B1", "B2", "B3", "B7"]

View file

@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes # Use LTO flags to reduce firmware size
RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE)
RGB_MATRIX_DRIVER = WS2812 # RGB matrix driver support

View file

@ -10,6 +10,9 @@
"pid": "0x0428",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B0", "B1", "B2", "B3", "B7"]

View file

@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes # Use LTO flags to reduce firmware size
RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE)
RGB_MATRIX_DRIVER = WS2812 # RGB matrix driver support

View file

@ -16,7 +16,6 @@
#pragma once
#define RGB_DI_PIN B9
#define RGB_MATRIX_LED_COUNT 14
#define RGB_DISABLE_WHEN_USB_SUSPENDED

View file

@ -20,6 +20,7 @@
},
"processor": "STM32F103",
"ws2812": {
"pin": "B9",
"driver": "pwm"
},
"rgb_matrix": {