rules.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 = halfkay
  12. # If you have Left LEDs (see
  13. # https://geekhack.org/index.php?topic=22780.msg873819#msg873819 for
  14. # details), include the following define:
  15. # OPT_DEFS += -DLEFT_LEDS
  16. # Build Options
  17. # comment out to disable the options.
  18. #
  19. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  20. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  21. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  22. CONSOLE_ENABLE = no # Console for debug(+400)
  23. COMMAND_ENABLE = yes # Commands for debug and configuration
  24. CUSTOM_MATRIX = yes # Custom matrix file for the ErgoDox EZ
  25. NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  26. UNICODE_ENABLE = yes # Unicode
  27. SWAP_HANDS_ENABLE= yes # Allow swapping hands of keyboard
  28. SLEEP_LED_ENABLE = no
  29. API_SYSEX_ENABLE = no
  30. RGBLIGHT_ENABLE = yes
  31. RGBLIGHT_CUSTOM_DRIVER = yes
  32. RGB_MATRIX_ENABLE = no # enable later
  33. DEBOUNCE_TYPE = eager_pr
  34. # project specific files
  35. SRC += matrix.c \
  36. led_i2c.c
  37. QUANTUM_LIB_SRC += i2c_master.c
  38. LAYOUTS = ergodox