2
0

rules.mk 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. ifeq ($(strip $(KEYBOARD)), iris/rev3)
  10. BOOTLOADER = dfu
  11. else
  12. BOOTLOADER = caterina
  13. endif
  14. # Interrupt driven control endpoint task(+60)
  15. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  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 = no # 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. DEFAULT_FOLDER = iris/rev2
  36. # VIA Support - Comment these 3 lines out to disable
  37. RAW_ENABLE = yes
  38. DYNAMIC_KEYMAP_ENABLE = yes
  39. SRC += keyboards/wilba_tech/wt_main.c