rules.mk 567 B

12345678910111213141516171819202122232425262728
  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
  21. # Build Options
  22. # change yes to no to disable
  23. #
  24. BACKLIGHT_DRIVER = custom