2
0

rules.mk 1.8 KB

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