post_rules.mk (569B)
1 ifeq ($(strip $(WATCHDOG_ENABLE)), yes) 2 OPT_DEFS += -DWATCHDOG_ENABLE 3 endif 4 5 # # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired 6 # # 7 # # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight 8 # # RevC/D - at90usb1286, no audio, ISSI device 0 is backlight, 4 is RGB 9 # # 10 # # Set to B, C or D 11 # LFK_REV = D 12 13 # ifeq ($(LFK_REV), B) 14 # MCU = atmega32u4 15 # else 16 # MCU = at90usb1286 17 # endif 18 # OPT_DEFS += -DLFK_REV_$(LFK_REV) 19 # OPT_DEFS += -DUSB_PRODUCT=\"LFK_Rev$(LFK_REV)\"