Move some led drivers to common folder (#13749)
* Move some led drivers to common folder
This commit is contained in:
@@ -34,5 +34,5 @@ LAYOUTS = 60_hhkb
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -44,5 +44,5 @@ LAYOUTS = 60_hhkb
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -41,5 +41,5 @@ CIE1931_CURVE = yes
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3218.c \
|
||||
drivers/led/issi/is31fl3218.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -34,5 +34,5 @@ CIE1931_CURVE = yes
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
||||
@@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
||||
@@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
||||
@@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
||||
@@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
||||
@@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
||||
@@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#error VIA_EEPROM_CUSTOM_CONFIG_SIZE was not defined to store backlight_config struct
|
||||
#endif
|
||||
|
||||
#include "drivers/issi/is31fl3736.h"
|
||||
#include "drivers/led/issi/is31fl3736.h"
|
||||
|
||||
#define ISSI_ADDR_DEFAULT 0x50
|
||||
|
||||
|
||||
@@ -78,19 +78,19 @@ LED_TYPE g_ws2812_leds[WS2812_LED_TOTAL];
|
||||
#endif
|
||||
|
||||
#if defined(RGB_BACKLIGHT_M6_B)
|
||||
#include "drivers/issi/is31fl3218.h"
|
||||
#include "drivers/led/issi/is31fl3218.h"
|
||||
#define BACKLIGHT_LED_COUNT 6
|
||||
#elif defined(RGB_BACKLIGHT_HS60)
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
#define BACKLIGHT_LED_COUNT 64
|
||||
#elif defined(RGB_BACKLIGHT_NK65) || defined(RGB_BACKLIGHT_NEBULA68) || defined(RGB_BACKLIGHT_KW_MEGA)
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
#define BACKLIGHT_LED_COUNT 69
|
||||
#elif defined(RGB_BACKLIGHT_NK87)
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
#define BACKLIGHT_LED_COUNT 128
|
||||
#else
|
||||
#include "drivers/issi/is31fl3731.h"
|
||||
#include "drivers/led/issi/is31fl3731.h"
|
||||
#if defined(RGB_BACKLIGHT_U80_A)
|
||||
#define BACKLIGHT_LED_COUNT 108
|
||||
#elif defined(RGB_BACKLIGHT_DAWN60)
|
||||
|
||||
@@ -44,5 +44,5 @@ LAYOUTS = 60_ansi 60_iso 60_hhkb 60_ansi_split_bs_rshift
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
@@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
||||
Reference in New Issue
Block a user