rules.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. BOOTLOADER = atmel-dfu
  5. # Do not put the microcontroller into power saving mode
  6. # when we get USB suspend event. We want it to keep updating
  7. # backlight effects.
  8. OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
  9. # Build Options
  10. # change yes to no to disable
  11. #
  12. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  13. MOUSEKEY_ENABLE = no # Mouse keys
  14. EXTRAKEY_ENABLE = yes # Audio control and System control
  15. CONSOLE_ENABLE = no # Console for debug
  16. COMMAND_ENABLE = no # Commands for debug and configuration
  17. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  18. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  19. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  20. NKRO_ENABLE = yes # USB Nkey Rollover
  21. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  22. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  23. BLUETOOTH_ENABLE = no # Enable Bluetooth
  24. AUDIO_ENABLE = no # Audio output
  25. CIE1931_CURVE = yes
  26. LAYOUTS = 60_hhkb
  27. # project specific files
  28. SRC = keyboards/wilba_tech/wt_main.c \
  29. keyboards/wilba_tech/wt_rgb_backlight.c \
  30. quantum/color.c \
  31. drivers/issi/is31fl3731.c \
  32. drivers/avr/i2c_master.c