Skip to content

Commit

Permalink
Only one AW20216 implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
paco-tortosa committed Jul 7, 2021
1 parent 3d5de68 commit 11522a0
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 447 deletions.
9 changes: 1 addition & 8 deletions common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ endif
endif

RGB_MATRIX_ENABLE ?= no
VALID_RGB_MATRIX_TYPES := AW20216 IS31FL3731 IS31FL3733 IS31FL3737 IS31FL3741 WS2812 AW20216S custom
VALID_RGB_MATRIX_TYPES := IS31FL3731 IS31FL3733 IS31FL3737 IS31FL3741 WS2812 AW20216S custom

ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
ifeq ($(filter $(RGB_MATRIX_DRIVER),$(VALID_RGB_MATRIX_TYPES)),)
Expand All @@ -268,13 +268,6 @@ endif
CIE1931_CURVE := yes
RGB_KEYCODES_ENABLE := yes

ifeq ($(strip $(RGB_MATRIX_DRIVER)), AW20216)
OPT_DEFS += -DAW20216 -DSTM32_SPI -DHAL_USE_SPI=TRUE
COMMON_VPATH += $(DRIVER_PATH)/awinic
SRC += aw20216.c
QUANTUM_LIB_SRC += spi_master.c
endif

ifeq ($(strip $(RGB_MATRIX_DRIVER)), IS31FL3731)
OPT_DEFS += -DIS31FL3731 -DSTM32_I2C -DHAL_USE_I2C=TRUE
COMMON_VPATH += $(DRIVER_PATH)/issi
Expand Down
170 changes: 0 additions & 170 deletions drivers/awinic/aw20216.c

This file was deleted.

Loading

0 comments on commit 11522a0

Please sign in to comment.