Remove IS31FLCOMMON code (#22800)

This commit is contained in:
Ryan
2024-01-02 16:26:01 +11:00
committed by GitHub
parent 8a6b7003f7
commit f583d2fef0
21 changed files with 30 additions and 463 deletions
+3 -3
View File
@@ -35,8 +35,8 @@
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
/* I2C Config for LED Driver */
#define DRIVER_COUNT 2
#define DRIVER_ADDR_1 0b1110100
#define DRIVER_ADDR_2 0b1110111
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
+1 -1
View File
@@ -40,7 +40,7 @@
"caps_lock": "A15"
},
"rgb_matrix": {
"driver": "ckled2001",
"driver": "snled27351",
"max_brightness": 180,
"animations": {
"breathing": true,
@@ -33,10 +33,10 @@
#define SPI_MOSI_PIN A7
#define SPI_MISO_PIN A6
#define DRIVER_1_CS A15
#define DRIVER_2_CS B15
#define DRIVER_1_EN C13
#define DRIVER_2_EN C13
#define AW20216S_CS_PIN_1 A15
#define AW20216S_CS_PIN_2 B15
#define AW20216S_EN_PIN_1 C13
#define AW20216S_EN_PIN_2 C13
#define DRIVER_COUNT 2
#define DRIVER_1_LED_TOTAL 66
@@ -80,7 +80,7 @@
"solid_multisplash": true
},
"center_point": [76, 25],
"driver": "aw20216",
"driver": "aw20216s",
"layout": [
{ "flags": 4, "matrix": [1, 3], "x": 0, "y": 0 },
{ "flags": 4, "matrix": [2, 6], "x": 20, "y": 0 },
@@ -32,10 +32,10 @@
#define SPI_MOSI_PIN A7
#define SPI_MISO_PIN A6
#define DRIVER_1_CS A15
#define DRIVER_2_CS B15
#define DRIVER_1_EN C13
#define DRIVER_2_EN C13
#define AW20216S_CS_PIN_1 A15
#define AW20216S_CS_PIN_2 B15
#define AW20216S_EN_PIN_1 C13
#define AW20216S_EN_PIN_2 C13
#define DRIVER_1_LED_TOTAL 68
#define DRIVER_2_LED_TOTAL 54
@@ -79,7 +79,7 @@
"solid_multisplash": true
},
"center_point": [87, 35],
"driver": "aw20216",
"driver": "aw20216s",
"layout": [
{ "flags": 4, "matrix": [1, 3], "x": 0, "y": 0 },
{ "flags": 4, "matrix": [2, 6], "x": 20, "y": 0 },
+4 -4
View File
@@ -32,10 +32,10 @@
#define SPI_MOSI_PIN A7
#define SPI_MISO_PIN A6
#define DRIVER_1_CS A15
#define DRIVER_2_CS B15
#define DRIVER_1_EN C13
#define DRIVER_2_EN C13
#define AW20216S_CS_PIN_1 A15
#define AW20216S_CS_PIN_2 B15
#define AW20216S_EN_PIN_1 C13
#define AW20216S_EN_PIN_2 C13
#define DRIVER_1_LED_TOTAL 66
#define DRIVER_2_LED_TOTAL 19
+1 -1
View File
@@ -87,7 +87,7 @@
"solid_multisplash": true
},
"center_point": [76, 25],
"driver": "aw20216",
"driver": "aw20216s",
"layout": [
{ "flags": 4, "matrix": [1, 3], "x": 0, "y": 0 },
{ "flags": 4, "matrix": [2, 6], "x": 20, "y": 0 },
+1 -1
View File
@@ -5,7 +5,7 @@
#define I2C1_SDA_PIN B9
#define I2C1_SCL_PIN B8
#define DRIVER_ADDR_1 0b1010000
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
#define RGB_MATRIX_LED_COUNT 47
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+1 -1
View File
@@ -17,7 +17,7 @@
#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
+2 -2
View File
@@ -4,8 +4,8 @@
#pragma once
/* RGB Config */
#define DRIVER_1_CS B6
#define DRIVER_1_EN B7
#define AW20216S_CS_PIN_1 B6
#define AW20216S_EN_PIN_1 B7
#define RGB_MATRIX_LED_COUNT 67
/* SPI Config */
+1 -1
View File
@@ -42,7 +42,7 @@
"on_state": 0
},
"rgb_matrix": {
"driver": "aw20216",
"driver": "aw20216s",
"animations": {
"solid_color": true,
"alphas_mods": true,
+4 -4
View File
@@ -32,10 +32,10 @@
#define SPI_MOSI_PIN A7
#define SPI_MISO_PIN A6
#define DRIVER_1_CS A15
#define DRIVER_2_CS B15
#define DRIVER_1_EN C13
#define DRIVER_2_EN C13
#define AW20216S_CS_PIN_1 A15
#define AW20216S_CS_PIN_2 B15
#define AW20216S_EN_PIN_1 C13
#define AW20216S_EN_PIN_2 C13
#define DRIVER_1_LED_TOTAL 70
#define DRIVER_2_LED_TOTAL 17
+1 -1
View File
@@ -81,7 +81,7 @@
"solid_multisplash": true
},
"center_point": [78, 20],
"driver": "aw20216",
"driver": "aw20216s",
"layout": [
{ "flags": 4, "matrix": [1, 3], "x": 0, "y": 0 },
{ "flags": 4, "matrix": [2, 6], "x": 12.5, "y": 0 },
+1 -1
View File
@@ -38,5 +38,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
# define RGB_MATRIX_STARTUP_VAL 128
# define DRIVER_ADDR_1 0b0110000
# define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND
# define RGB_MATRIX_LED_COUNT 101