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

@ -33,6 +33,9 @@
{"x":16.5, "y":0.38}
]
},
"ws2812": {
"driver": "vendor"
},
"layouts": {
"LAYOUT":{
"layout":[

View file

@ -1,2 +1 @@
SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -12,6 +12,9 @@
"pin": "B8",
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"

View file

@ -1,6 +1,3 @@
# Use SPI for RGB underglow:
WS2812_DRIVER = spi
# Build Options
# change yes to no to disable
#

View file

@ -8,6 +8,9 @@
"pid": "0x432A",
"device_version": "0.0.1"
},
"ws2812": {
"driver": "pwm"
},
"matrix_pins": {
"cols": ["A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A10", "A14", "B8", "B9"],
"rows": ["A15", "B3", "A9", "B5", "A3"]

View file

@ -17,5 +17,4 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = pwm # Driver for RGB uderglow
AUDIO_ENABLE = no # Audio output

View file

@ -4,6 +4,9 @@
"rows": ["A4", "A3", "A2", "A1", "A0"]
},
"diode_direction": "COL2ROW",
"ws2812": {
"driver": "pwm"
},
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F401"

View file

@ -9,6 +9,5 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = pwm
AUDIO_ENABLE = no # Audio output
KEYBOARD_SHARED_EP = yes

View file

@ -4,6 +4,9 @@
"rows": ["A15", "B3", "B4", "B5", "B7"]
},
"diode_direction": "COL2ROW",
"ws2812": {
"driver": "pwm"
},
"processor": "STM32F411",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F411"

View file

@ -9,7 +9,6 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = pwm
AUDIO_ENABLE = yes # Audio output
AUDIO_DRIVER = pwm_hardware
KEYBOARD_SHARED_EP = yes

View file

@ -7,5 +7,8 @@
},
"rgblight": {
"pin": "GP17"
},
"ws2812": {
"driver": "vendor"
}
}

View file

@ -1,6 +1,4 @@
OLED_ENABLE = yes
OLED_DRIVER = SSD1306
WS2812_DRIVER = vendor
OPT_DEFS += -DHAL_USE_I2C=TRUE

View file

@ -9,5 +9,4 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = bitbang
AUDIO_ENABLE = no # Audio output

View file

@ -17,6 +17,9 @@
"pin": "B8",
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",

View file

@ -1,6 +1,3 @@
# Use SPI for RGB underglow:
WS2812_DRIVER = spi
# Build Options
# change yes to no to disable
#

View file

@ -5,6 +5,9 @@
"rows": ["B10", "B11", "B12", "A14", "A13", "A15"]
},
"diode_direction": "COL2ROW",
"ws2812": {
"driver": "pwm"
},
"encoder": {
"rotary": [
{"pin_a": "A7", "pin_b": "A8"}

View file

@ -2,6 +2,5 @@
CONSOLE_ENABLE = yes
EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart
AUDIO_DRIVER = dac_additive

View file

@ -5,6 +5,9 @@
"rows": ["B12", "B13", "B14", "B15", "A8", "A10"]
},
"diode_direction": "COL2ROW",
"ws2812": {
"driver": "pwm"
},
"encoder": {
"rotary": [
{"pin_a": "A13", "pin_b": "A14"}

View file

@ -3,7 +3,6 @@ CONSOLE_ENABLE = yes
MOUSE_SHARED_EP = yes
EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart
AUDIO_DRIVER = pwm_hardware