mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-26 18:47:24 +06:00
4139de3cc9
* Add backlight custom driver to all boards not declaring it but overriding backlight * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com> * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com> * Remove old tmk references from show_options.mk Co-authored-by: fauxpark <fauxpark@gmail.com>
29 lines
567 B
Makefile
29 lines
567 B
Makefile
# Set the LFK87 hardware version.
|
|
#
|
|
# RevA - Green PCB. at90usb1286 Only 3 exist
|
|
# RevB - We don't talk about RevB
|
|
# RevC - Black PCB. at90usb646 First public release
|
|
#
|
|
# Set to A or C
|
|
LFK_REV = C
|
|
|
|
ifeq ($(LFK_REV), A)
|
|
MCU = at90usb1286
|
|
else
|
|
MCU = at90usb646
|
|
endif
|
|
BOOTLOADER = atmel-dfu
|
|
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
|
|
|
|
# Extra source files for IS3731 lighting
|
|
SRC = TWIlib.c issi.c lighting.c
|
|
|
|
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
|
# TMK_COMMON_DEFS += -DISSI_ENABLE
|
|
endif
|
|
|
|
# Build Options
|
|
# change yes to no to disable
|
|
#
|
|
BACKLIGHT_DRIVER = custom
|