rules.mk 1.7 KB

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