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
384 changed files with 583 additions and 211 deletions

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["60_ansi", "60_tsangan_hhkb"],

View File

@@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -8,6 +8,9 @@
"pid": "0xA7A5",
"device_version": "0.0.1"
},
"ws2812": {
"driver": "spi"
},
"matrix_pins": {
"cols": ["A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "B9", "A15", "A10", "A9"],
"rows": ["A8", "B14", "B12", "B4", "B3"]

View File

@@ -9,4 +9,3 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi

View File

@@ -8,6 +8,9 @@
"pid": "0x000A",
"device_version": "0.0.1"
},
"ws2812": {
"driver": "spi"
},
"matrix_pins": {
"cols": ["B1", "B2", "B10", "B11", "B12", "B14", "A8", "A9", "A10", "A3", "B0", "A2", "A1", "A7", "A0", "B4", "B6", "B7"],
"rows": ["A15", "B3", "B5", "A4", "A5", "F1"]

View File

@@ -13,7 +13,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

@@ -16,6 +16,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu"
}

View File

@@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
DEFAULT_FOLDER = cannonkeys/db60/rev2

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["60_ansi", "60_tsangan_hhkb"],

View File

@@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -13,7 +13,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

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"indicators": {
"caps_lock": "A8",
"num_lock": "A9",

View File

@@ -13,7 +13,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

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -13,7 +13,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

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["ortho_4x12"],

View File

@@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["ortho_5x12"],

View File

@@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -23,6 +23,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["ortho_5x15"],

View File

@@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes
WS2812_DRIVER = spi
ENCODER_ENABLE = yes
# Enter lower-power sleep mode when on the ChibiOS idle thread

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["60_ansi"],

View File

@@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes
WS2812_DRIVER = spi
DEFAULT_FOLDER = cannonkeys/practice60

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {

View File

@@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"indicators": {
"caps_lock": "B3",
"num_lock": "B4",

View File

@@ -13,7 +13,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

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_ansi_blocker_tsangan", "65_iso_blocker"],

View File

@@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View File

@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -13,7 +13,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