rules.mk 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # MCU name
  2. MCU = atmega32a
  3. PROTOCOL = VUSB
  4. # unsupported features for now
  5. NO_UART = yes
  6. NO_SUSPEND_POWER_DOWN = yes
  7. # processor frequency
  8. F_CPU = 12000000
  9. # build options
  10. BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000)
  11. MOUSEKEY_ENABLE ?= no # Mouse keys(+4700)
  12. EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450)
  13. CONSOLE_ENABLE ?= no # Console for debug(+400)
  14. COMMAND_ENABLE ?= no # Commands for debug and configuration
  15. NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ # nkro-doesnt-work
  16. BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
  17. MIDI_ENABLE ?= no # MIDI controls
  18. AUDIO_ENABLE ?= no # Audio output on port C6
  19. UNICODE_ENABLE ?= no # Unicode
  20. BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID
  21. RGBLIGHT_ENABLE ?= yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
  22. RGBLIGHT_CUSTOM_DRIVER = yes
  23. TAP_DANCE_ENABLE = no
  24. OPT_DEFS = -DDEBUG_LEVEL=0
  25. OPT_DEFS += -DBOOTLOADER_SIZE=2048
  26. # custom matrix setup
  27. CUSTOM_MATRIX = yes
  28. SRC = matrix.c i2c.c
  29. # programming options
  30. PROGRAM_CMD = ./keyboards/mt40/program $(TARGET).hex