rules.mk 752 B

123456789101112131415161718192021222324252627282930313233
  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 = no
  16. MOUSEKEY_ENABLE = no
  17. EXTRAKEY_ENABLE = yes
  18. CONSOLE_ENABLE = yes
  19. COMMAND_ENABLE = yes
  20. BACKLIGHT_ENABLE = no
  21. RGBLIGHT_ENABLE = yes
  22. RGBLIGHT_CUSTOM_DRIVER = yes
  23. OPT_DEFS = -DDEBUG_LEVEL=0
  24. SRC += i2c_master.c
  25. # programming options
  26. PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex