rules.mk 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. SRC = matrix.c \
  2. i2c_master.c
  3. # MCU name
  4. MCU = atmega328p
  5. # Bootloader selection
  6. # Teensy halfkay
  7. # Pro Micro caterina
  8. # Atmel DFU atmel-dfu
  9. # LUFA DFU lufa-dfu
  10. # QMK DFU qmk-dfu
  11. # ATmega32A bootloadHID
  12. # ATmega328P USBasp
  13. BOOTLOADER = USBasp
  14. # disable debug code
  15. OPT_DEFS = -DDEBUG_LEVEL=0
  16. # Build Options
  17. # change yes to no to disable
  18. #
  19. BOOTMAGIC_ENABLE = lite # 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 = no # Commands for debug and configuration
  24. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  25. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  26. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  27. NKRO_ENABLE = no # USB Nkey Rollover
  28. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  29. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  30. MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
  31. UNICODE_ENABLE = no # Unicode
  32. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  33. AUDIO_ENABLE = no # Audio output on port C6
  34. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  35. HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
  36. CUSTOM_MATRIX = yes