rules.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # MCU name
  2. MCU = atmega32u4
  3. # Processor frequency.
  4. F_CPU = 16000000
  5. # LUFA specific
  6. #
  7. # Target architecture (see library "Board Types" documentation).
  8. ARCH = AVR8
  9. # Input clock frequency.
  10. F_USB = $(F_CPU)
  11. # Interrupt driven control endpoint task(+60)
  12. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  13. # Bootloader
  14. BOOTLOADER = caterina
  15. # Build Options
  16. # change to "no" to disable the options, or define them in the Makefile in
  17. # the appropriate keymap folder that will get included automatically
  18. #
  19. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  20. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  21. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  22. CONSOLE_ENABLE = no # Console for debug(+400)
  23. COMMAND_ENABLE = no # Commands for debug and configuration
  24. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  25. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  26. MIDI_ENABLE = no # MIDI controls
  27. AUDIO_ENABLE = no # Audio output on port C6
  28. UNICODE_ENABLE = no # Unicode
  29. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  30. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  31. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  32. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  33. SPLIT_KEYBOARD = yes # Enables split keyboard support
  34. DEFAULT_FOLDER = ergodash/rev1