rules.mk 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # MCU name
  2. MCU = atmega328p
  3. ARCH = AVR8
  4. F_USB = $(F_CPU)
  5. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  6. # Bootloader selection
  7. # Teensy halfkay
  8. # Pro Micro caterina
  9. # Atmel DFU atmel-dfu
  10. # LUFA DFU lufa-dfu
  11. # QMK DFU qmk-dfu
  12. # ATmega32A bootloadHID
  13. # ATmega328P USBasp
  14. BOOTLOADER = USBasp
  15. # Build Options
  16. # change yes to no to disable
  17. #
  18. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
  19. MOUSEKEY_ENABLE = no # Mouse keys
  20. EXTRAKEY_ENABLE = yes # Audio control and System control
  21. CONSOLE_ENABLE = no # Console for debug
  22. COMMAND_ENABLE = no # Commands for debug and configuration
  23. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  24. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  25. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  26. NKRO_ENABLE = no # USB Nkey Rollover
  27. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  28. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  29. MIDI_ENABLE = no # MIDI support
  30. UNICODE_ENABLE = no # Unicode
  31. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  32. AUDIO_ENABLE = no # Audio output on port C6
  33. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  34. HD44780_ENABLE = no # Enable support for HD44780 based LCDs
  35. CUSTOM_MATRIX = yes
  36. # project specific files
  37. SRC += matrix.c
  38. SRC += board.c
  39. QUANTUM_LIB_SRC += i2c_master.c