Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)

This commit is contained in:
Ryan
2023-04-06 18:00:54 +10:00
committed by GitHub
parent 71c22a12db
commit 47966dc2a6
2600 changed files with 4027 additions and 1909 deletions

View File

@@ -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

View File

@@ -34,6 +34,7 @@
"levels": 4
},
"ws2812": {
"pin": "B2",
"driver": "pwm"
},
"split": {

View File

@@ -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

View File

@@ -13,6 +13,7 @@
]
},
"ws2812": {
"pin": "GP13",
"driver": "vendor"
}
}

View File

@@ -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

View File

@@ -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": {