rules.mk 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. # MCU name
  2. MCU = atmega16u2
  3. # Boot Section Size in *bytes*
  4. # Teensy halfKay 512
  5. # Teensy++ halfKay 2048
  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. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  13. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  14. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  15. CONSOLE_ENABLE = no # Console for debug(+400)
  16. COMMAND_ENABLE = no # Commands for debug and configuration
  17. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  18. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  19. MIDI_ENABLE = no # MIDI controls
  20. AUDIO_ENABLE = no # Audio output on port C6
  21. UNICODE_ENABLE = no # Unicode
  22. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  23. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  24. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  25. SPACE_CADET_ENABLE = no
  26. # Saves about 5% of space:
  27. LINK_TIME_OPTIMIZATION_ENABLE = yes
  28. #LAYOUTS = ortho_1x4