Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)
This commit is contained in:
parent
71c22a12db
commit
47966dc2a6
2600 changed files with 4027 additions and 1909 deletions
|
|
@ -41,7 +41,6 @@
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
|
||||
// RGB configuration
|
||||
#define RGB_DI_PIN B2
|
||||
#define WS2812_EXTERNAL_PULLUP
|
||||
#define WS2812_PWM_DRIVER PWMD20
|
||||
#define WS2812_PWM_CHANNEL 1
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
"levels": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B2",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"split": {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN GP2
|
||||
|
||||
// RGB configuration
|
||||
#define RGB_DI_PIN GP13
|
||||
#define RGB_ENABLE_PIN GP6
|
||||
|
||||
// ADC Configuration
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "GP13",
|
||||
"driver": "vendor"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN A4
|
||||
|
||||
// RGB configuration
|
||||
#define RGB_DI_PIN C6
|
||||
#define WS2812_PWM_DRIVER PWMD3
|
||||
#define WS2812_PWM_CHANNEL 1
|
||||
#define WS2812_PWM_PAL_MODE 2
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
"bootloader": "stm32-dfu",
|
||||
"bootloader_instructions": "Press the 5 keys on the bottom row of the left side, or hold the boot switch and tap the reset switch, or hold the top-left key when plugging in the board.",
|
||||
"ws2812": {
|
||||
"pin": "C6",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"encoder": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue