ifeq ($(strip $(ISSI_ENABLE)), yes) OPT_DEFS += -DISSI_ENABLE endif ifeq ($(strip $(WATCHDOG_ENABLE)), yes) OPT_DEFS += -DWATCHDOG_ENABLE endif # # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired # # # # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight # # RevC/D - at90usb1286, no audio, ISSI device 0 is backlight, 4 is RGB # # # # Set to B, C or D # LFK_REV = D # ifeq ($(LFK_REV), B) # MCU = atmega32u4 # else # MCU = at90usb1286 # endif # OPT_DEFS += -DLFK_REV_$(LFK_REV) # OPT_DEFS += -DUSB_PRODUCT=\"LFK_Rev$(LFK_REV)\"