2018-02-23 19:16:10 +01:00
|
|
|
# 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)
|
2019-09-19 18:55:03 +02:00
|
|
|
MCU = at90usb1286
|
2018-02-23 19:16:10 +01:00
|
|
|
else
|
2019-09-19 18:55:03 +02:00
|
|
|
MCU = at90usb646
|
2018-02-23 19:16:10 +01:00
|
|
|
endif
|
2019-09-19 18:55:03 +02:00
|
|
|
BOOTLOADER = atmel-dfu
|
2018-02-23 19:16:10 +01:00
|
|
|
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
|
|
|
|
|
2019-01-18 01:25:03 +01:00
|
|
|
# Extra source files for IS3731 lighting
|
|
|
|
SRC = TWIlib.c issi.c lighting.c
|
2018-02-23 19:16:10 +01:00
|
|
|
|
|
|
|
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
|
|
|
# TMK_COMMON_DEFS += -DISSI_ENABLE
|
|
|
|
endif
|
2020-01-31 00:44:40 +01:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# change yes to no to disable
|
|
|
|
#
|
|
|
|
BACKLIGHT_DRIVER = custom
|