Move WS2812_DRIVER to data driven (#20248)

This commit is contained in:
Ryan 2023-03-26 18:22:12 +11:00 committed by GitHub
parent 7e54defa20
commit 36ce81df59
Failed to generate hash of commit
384 changed files with 583 additions and 211 deletions

View file

@ -1,4 +1,7 @@
{
"ws2812": {
"driver": "spi"
},
"matrix_pins": {
"cols": ["B2", "B10", "B11", "A9", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "C13", "C14", "C15", "B12"],
"rows": ["B1", "B0", "A7", "A5", "A4"]

View file

@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View file

@ -1,4 +1,7 @@
{
"ws2812": {
"driver": "spi"
},
"matrix_pins": {
"cols": ["B1", "B0", "A7", "A1", "A5", "A4", "A3", "A10", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
"rows": ["B2", "B10", "B11", "A2", "A0"]

View file

@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE