rules.mk 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. # Bootloader
  10. # This definition is optional, and if your keyboard supports multiple bootloaders of
  11. # different sizes, comment this out, and the correct address will be loaded
  12. # automatically (+60). See bootloader.mk for all options.
  13. BOOTLOADER = bootloadHID
  14. # build options
  15. BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000)
  16. MOUSEKEY_ENABLE ?= no # Mouse keys(+4700)
  17. EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450)
  18. CONSOLE_ENABLE ?= no # Console for debug(+400)
  19. COMMAND_ENABLE ?= no # Commands for debug and configuration
  20. NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ # nkro-doesnt-work
  21. BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
  22. MIDI_ENABLE ?= no # MIDI controls
  23. AUDIO_ENABLE ?= no # Audio output on port C6
  24. UNICODE_ENABLE ?= no # Unicode
  25. BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID
  26. RGBLIGHT_ENABLE ?= yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
  27. RGBLIGHT_CUSTOM_DRIVER = yes
  28. TAP_DANCE_ENABLE = no
  29. OPT_DEFS = -DDEBUG_LEVEL=0
  30. # custom matrix setup
  31. CUSTOM_MATRIX = yes
  32. SRC = matrix.c i2c.c
  33. # programming options
  34. PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex