rules.mk 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. # Teensy halfkay
  5. # Pro Micro caterina
  6. # Atmel DFU atmel-dfu
  7. # LUFA DFU lufa-dfu
  8. # QMK DFU qmk-dfu
  9. # ATmega32A bootloadHID
  10. # ATmega328P USBasp
  11. BOOTLOADER = atmel-dfu
  12. # Build Options
  13. # change yes to no to disable
  14. #
  15. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  16. MOUSEKEY_ENABLE = no # Mouse keys
  17. EXTRAKEY_ENABLE = yes # Audio control and System control
  18. CONSOLE_ENABLE = no # Console for debug
  19. COMMAND_ENABLE = no # Commands for debug and configuration
  20. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  21. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  22. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  23. NKRO_ENABLE = no # USB Nkey Rollover
  24. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  25. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  26. RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lfkeyboards, not qmk base
  27. MIDI_ENABLE = no # MIDI support
  28. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  29. AUDIO_ENABLE = no # Audio output on port C6
  30. UNICODE_ENABLE = no # Unicode
  31. TAP_DANCE_ENABLE = no
  32. ISSI_ENABLE = yes # If the I2C pullup resistors aren't installed this must be disabled
  33. WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan() isn't run every 250ms
  34. SRC = TWIlib.c issi.c lighting.c
  35. ifeq ($(strip $(ISSI_ENABLE)), yes)
  36. TMK_COMMON_DEFS += -DISSI_ENABLE
  37. endif
  38. ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
  39. TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
  40. endif
  41. LAYOUTS = numpad_6x4