rules.mk 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. MCU = atmega32u4
  2. F_CPU = 16000000
  3. ARCH = AVR8
  4. F_USB = $(F_CPU)
  5. # Bootloader
  6. # This definition is optional, and if your keyboard supports multiple bootloaders of
  7. # different sizes, comment this out, and the correct address will be loaded
  8. # automatically (+60). See bootloader.mk for all options.
  9. ifneq (, $(findstring rev3, $(KEYBOARD)))
  10. BOOTLOADER = qmk-dfu
  11. else ifneq (, $(findstring rev4, $(KEYBOARD)))
  12. BOOTLOADER = qmk-dfu
  13. else
  14. BOOTLOADER = caterina
  15. endif
  16. # Interrupt driven control endpoint task(+60)
  17. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  18. # Build Options
  19. # change to "no" to disable the options, or define them in the Makefile in
  20. # the appropriate keymap folder that will get included automatically
  21. #
  22. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  23. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  24. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  25. CONSOLE_ENABLE = yes # Console for debug(+400)
  26. COMMAND_ENABLE = no # Commands for debug and configuration
  27. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  28. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  29. MIDI_ENABLE = no # MIDI controls
  30. AUDIO_ENABLE = no # Audio output on port C6
  31. UNICODE_ENABLE = no # Unicode
  32. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  33. RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
  34. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  35. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  36. SPLIT_KEYBOARD = yes
  37. DEFAULT_FOLDER = keebio/iris/rev2