rules.mk 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #
  13. # This uses usbaspbootloader
  14. BOOTLOADER = USBasp
  15. # Flash program via avrdude, but default command is not suitable.
  16. # You can use plaid:default:program
  17. PROGRAM_CMD = avrdude -c usbasp -p m328p -U flash:w:$(BUILD_DIR)/$(TARGET).hex
  18. # disable debug code
  19. OPT_DEFS = -DDEBUG_LEVEL=0
  20. # Build Options
  21. # change yes to no to disable
  22. #
  23. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
  24. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  25. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  26. CONSOLE_ENABLE = no # Console for debug(+400)
  27. COMMAND_ENABLE = no # Commands for debug and configuration
  28. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  29. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  30. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  31. NKRO_ENABLE = no # USB Nkey Rollover
  32. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  33. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  34. MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
  35. UNICODE_ENABLE = no # Unicode
  36. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  37. AUDIO_ENABLE = no # Audio output on port C6
  38. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  39. HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
  40. CUSTOM_MATRIX = yes