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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
384 changed files with 583 additions and 211 deletions

View file

@ -7,6 +7,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
"ws2812": {
"driver": "pwm"
},
"matrix_pins": {
"cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"],
"rows": ["B3", "B4", "B5", "B6", "B7", "A0"]

View file

@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
WS2812_DRIVER = pwm
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE