rules.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. BOOTLOADER = caterina
  12. ifeq ($(strip $(CTPC)), yes)
  13. CONVERT_TO_PROTON_C=yes
  14. endif
  15. ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
  16. SPLIT_KEYBOARD = no # currently unsupported on ARM
  17. RGBLIGHT_ENABLE = no # currently unsupported on ARM
  18. EXTRAFLAGS += -DUSE_PROTON_C
  19. else
  20. # Currently moved to Pro Micro only section because of lack of Proton-C support
  21. SPLIT_KEYBOARD = yes
  22. RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
  23. endif
  24. # Build Options
  25. # change to "no" to disable the options, or define them in the Makefile in
  26. # the appropriate keymap folder that will get included automatically
  27. #
  28. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  29. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  30. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  31. CONSOLE_ENABLE = no # Console for debug(+400)
  32. COMMAND_ENABLE = yes # Commands for debug and configuration
  33. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  34. MIDI_ENABLE = no # MIDI controls
  35. AUDIO_ENABLE = no # Audio output on port C6
  36. UNICODE_ENABLE = no # Unicode
  37. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  38. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  39. DEFAULT_FOLDER = rgbkb/zen/rev2