rules.mk 824 B

1234567891011121314151617181920212223242526272829303132333435
  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. BOOTLOADER = bootloadHID
  11. # Build Options
  12. # comment out to disable the options.
  13. #
  14. BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
  15. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  16. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  17. CONSOLE_ENABLE = yes # Console for debug(+400)
  18. COMMAND_ENABLE = yes # Commands for debug and configuration
  19. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  20. RGBLIGHT_ENABLE = yes
  21. RGBLIGHT_CUSTOM_DRIVER = yes
  22. OPT_DEFS = -DDEBUG_LEVEL=0
  23. # custom matrix setup
  24. CUSTOM_MATRIX = yes
  25. SRC = matrix.c i2c.c
  26. # programming options
  27. PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex