rules.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. # Teensy halfkay
  5. # Pro Micro caterina
  6. # Atmel DFU atmel-dfu
  7. # LUFA DFU lufa-dfu
  8. # QMK DFU qmk-dfu
  9. # ATmega32A bootloadHID
  10. # ATmega328P USBasp
  11. ifneq (, $(findstring rev3, $(KEYBOARD)))
  12. BOOTLOADER = qmk-dfu
  13. else ifneq (, $(findstring rev4, $(KEYBOARD)))
  14. BOOTLOADER = qmk-dfu
  15. else
  16. BOOTLOADER = caterina
  17. endif
  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