Complete RGB Matrix support for IS31FL3218 (#22004)
This commit is contained in:
		
							parent
							
								
									32126dc4f0
								
							
						
					
					
						commit
						1ea54a2d8d
					
				
					 9 changed files with 178 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -416,7 +416,7 @@ endif
 | 
			
		|||
 | 
			
		||||
RGB_MATRIX_ENABLE ?= no
 | 
			
		||||
 | 
			
		||||
VALID_RGB_MATRIX_TYPES := aw20216s is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 ws2812 custom
 | 
			
		||||
VALID_RGB_MATRIX_TYPES := aw20216s is31fl3218 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 ws2812 custom
 | 
			
		||||
ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
 | 
			
		||||
    ifeq ($(filter $(RGB_MATRIX_DRIVER),$(VALID_RGB_MATRIX_TYPES)),)
 | 
			
		||||
        $(call CATASTROPHIC_ERROR,Invalid RGB_MATRIX_DRIVER,RGB_MATRIX_DRIVER="$(RGB_MATRIX_DRIVER)" is not a valid matrix type)
 | 
			
		||||
| 
						 | 
				
			
			@ -444,6 +444,13 @@ endif
 | 
			
		|||
        QUANTUM_LIB_SRC += spi_master.c
 | 
			
		||||
    endif
 | 
			
		||||
 | 
			
		||||
    ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3218)
 | 
			
		||||
        OPT_DEFS += -DIS31FL3218 -DSTM32_I2C -DHAL_USE_I2C=TRUE
 | 
			
		||||
        COMMON_VPATH += $(DRIVER_PATH)/led/issi
 | 
			
		||||
        SRC += is31fl3218.c
 | 
			
		||||
        QUANTUM_LIB_SRC += i2c_master.c
 | 
			
		||||
    endif
 | 
			
		||||
 | 
			
		||||
    ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3731)
 | 
			
		||||
        OPT_DEFS += -DIS31FL3731 -DSTM32_I2C -DHAL_USE_I2C=TRUE
 | 
			
		||||
        COMMON_VPATH += $(DRIVER_PATH)/led/issi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue