rules.mk 490 B

1234567891011121314151617181920212223
  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. else
  12. MCU = at90usb646
  13. endif
  14. BOOTLOADER = atmel-dfu
  15. OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
  16. # Extra source files for IS3731 lighting
  17. SRC = TWIlib.c issi.c lighting.c
  18. ifeq ($(strip $(ISSI_ENABLE)), yes)
  19. # TMK_COMMON_DEFS += -DISSI_ENABLE
  20. endif