Rename CKLED2001 driver to SNLED27351 (#22071)

This commit is contained in:
Ryan 2023-10-04 20:10:05 +11:00 committed by GitHub
parent 24a795d7a9
commit c0f16be50f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
259 changed files with 1726 additions and 1720 deletions

View file

@ -16,7 +16,7 @@
#pragma once
#define CKLED2001_CURRENT_TUNE { 0xFF, 0xFF, 0x70, 0xFF, 0xFF, 0x70, 0xFF, 0xFF, 0x70, 0xFF, 0xFF, 0x70 }
#define SNLED27351_CURRENT_TUNE { 0xFF, 0xFF, 0x70, 0xFF, 0xFF, 0x70, 0xFF, 0xFF, 0x70, 0xFF, 0xFF, 0x70 }
/* turn off effects when suspended */
#define RGB_DISABLE_WHEN_USB_SUSPENDED

View file

@ -17,8 +17,8 @@
#pragma once
/* RGB Matrix Driver Configuration */
#define CKLED2001_DRIVER_COUNT 1
#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_GND
#define SNLED27351_DRIVER_COUNT 1
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 21

View file

@ -29,7 +29,7 @@
"processor": "STM32L432",
"bootloader": "stm32-dfu",
"rgb_matrix": {
"driver": "ckled2001",
"driver": "snled27351",
"animations": {
"band_spiral_val": true,
"breathing": true,

View file

@ -20,8 +20,8 @@
// clang-format off
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to CKLED manual for these locations
const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to SNLED27351 manual for these locations
* driver
* | R location
* | | G location

View file

@ -17,14 +17,14 @@
#pragma once
/* RGB Matrix Driver Configuration */
#define CKLED2001_DRIVER_COUNT 1
#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_VDDIO
#define SNLED27351_DRIVER_COUNT 1
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_VDDIO
/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 26
#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
#define CKLED2001_PHASE_CHANNEL CKLED2001_MSKPHASE_9CHANNEL
#define SNLED27351_PHASE_CHANNEL SNLED27351_MSKPHASE_9CHANNEL
/* Enable num-lock LED */
#define NUM_LOCK_LED_INDEX 5

View file

@ -38,7 +38,7 @@
"processor": "STM32L432",
"bootloader": "stm32-dfu",
"rgb_matrix": {
"driver": "ckled2001",
"driver": "snled27351",
"animations": {
"band_spiral_val": true,
"breathing": true,

View file

@ -20,8 +20,8 @@
// clang-format off
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to CKLED manual for these locations
const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to SNLED27351 manual for these locations
* driver
* | R location
* | | G location