rules.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 = caterina
  12. # Build Options
  13. # change yes to no to disable
  14. #
  15. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  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 = no # 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. UNICODE_ENABLE = no # Unicode
  25. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  26. AUDIO_ENABLE = no # Audio output on port C6
  27. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  28. BACKLIGHT_DRIVER = custom
  29. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Miera
  30. ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
  31. CUSTOM_MATRIX = yes
  32. #ifeq ($(strip $(ISSI_ENABLE)), yes)
  33. # TMK_COMMON_DEFS += -DISSI_ENABLE
  34. #endif
  35. #
  36. #ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
  37. # TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
  38. #endif
  39. SRC += matrix.c TWIlib.c issi.c lighting.c
  40. DEFAULT_FOLDER = meira/promicro
  41. LAYOUTS = ortho_4x12