rules.mk 738 B

123456789101112131415161718192021222324
  1. # MCU name
  2. MCU = atmega32u2
  3. # Boot Section Size in *bytes*
  4. # Teensy halfKay 512
  5. # Teensy++ halfKay 1024
  6. # Atmel DFU loader 4096
  7. # LUFA bootloader 4096
  8. # USBaspLoader 2048
  9. # OPT_DEFS += -DBOOTLOADER_SIZE=4096
  10. BOOTLOADER = atmel-dfu
  11. # Build Options
  12. # change to no to disable the options.
  13. #
  14. BOOTMAGIC_ENABLE = lite # 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. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  20. NKRO_ENABLE = no # USB Nkey Rollover - not yet supported in LUFA
  21. LAYOUTS = 60_ansi