rules.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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
  14. BOOTLOADER = caterina
  15. endif
  16. # Build Options
  17. # change to "no" to disable the options, or define them in the Makefile in
  18. # the appropriate keymap folder that will get included automatically
  19. #
  20. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  21. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  22. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  23. CONSOLE_ENABLE = no # Console for debug(+400)
  24. COMMAND_ENABLE = yes # Commands for debug and configuration
  25. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  26. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  27. MIDI_ENABLE = no # MIDI controls
  28. AUDIO_ENABLE = no # Audio output on port C6
  29. UNICODE_ENABLE = no # Unicode
  30. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  31. RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
  32. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  33. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  34. SPLIT_KEYBOARD = yes
  35. LAYOUTS = ortho_5x12 ortho_4x12
  36. DEFAULT_FOLDER = keebio/nyquist/rev2