rules.mk 533 B

123456789101112131415161718192021222324
  1. # Set the LFK87 hardware version.
  2. #
  3. # RevA - Green PCB. at90usb1286 Only 3 exist
  4. # RevB - We don't talk about RevB
  5. # RevC - Black PCB. at90usb646 First public release
  6. #
  7. # Set to A or C
  8. LFK_REV = C
  9. ifeq ($(LFK_REV), A)
  10. MCU = at90usb1286
  11. OPT_DEFS += -DBOOTLOADER_SIZE=8192
  12. else
  13. MCU = at90usb646
  14. OPT_DEFS += -DBOOTLOADER_SIZE=4096
  15. endif
  16. OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
  17. # Extra source files for IS3731 lighting
  18. SRC = TWIlib.c issi.c lighting.c
  19. ifeq ($(strip $(ISSI_ENABLE)), yes)
  20. # TMK_COMMON_DEFS += -DISSI_ENABLE
  21. endif