Rename CKLED2001 driver to SNLED27351 (#22071)
This commit is contained in:
		
							parent
							
								
									24a795d7a9
								
							
						
					
					
						commit
						c0f16be50f
					
				
					 259 changed files with 1726 additions and 1720 deletions
				
			
		| 
						 | 
				
			
			@ -38,9 +38,9 @@
 | 
			
		|||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
 | 
			
		||||
 | 
			
		||||
/* I2C Config for LED Driver */
 | 
			
		||||
#define IS31FL3733_DRIVER_COUNT 2
 | 
			
		||||
#define DRIVER_ADDR_1 0b1110100
 | 
			
		||||
#define DRIVER_ADDR_2 0b1110111
 | 
			
		||||
#define SNLED27351_DRIVER_COUNT 2
 | 
			
		||||
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
 | 
			
		||||
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
 | 
			
		||||
#define I2C1_SDA_PIN B7
 | 
			
		||||
#define I2C1_SCL_PIN B6
 | 
			
		||||
#define I2C1_SCL_PAL_MODE 4
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
        "force_nkro": true
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "is31fl3733"
 | 
			
		||||
        "driver": "snled27351"
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "WB32FQ95",
 | 
			
		||||
    "bootloader": "wb32-dfu",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,8 +18,8 @@
 | 
			
		|||
 | 
			
		||||
// clang-format off
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to IS31 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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,8 +25,9 @@
 | 
			
		|||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
 | 
			
		||||
 | 
			
		||||
/* I2C Config for LED Driver */
 | 
			
		||||
#define IS31FL3733_DRIVER_COUNT 1
 | 
			
		||||
#define DRIVER_ADDR_1 0b1110100
 | 
			
		||||
#define SNLED27351_DRIVER_COUNT 1
 | 
			
		||||
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
 | 
			
		||||
 | 
			
		||||
/* WB32 MCU has no default definition */
 | 
			
		||||
#define I2C1_OPMODE OPMODE_I2C
 | 
			
		||||
#define I2C1_CLOCK_SPEED 400000
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,7 @@
 | 
			
		|||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "is31fl3733",
 | 
			
		||||
        "driver": "snled27351",
 | 
			
		||||
        "max_brightness": 200,
 | 
			
		||||
        "animations": {
 | 
			
		||||
            "breathing": true,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,8 +16,8 @@
 | 
			
		|||
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to IS31 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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue