rules.mk 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Build Options
  2. # change to "no" to disable the options, or define them in the Makefile in
  3. # the appropriate keymap folder that will get included automatically
  4. #
  5. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  6. MOUSEKEY_ENABLE = no # Mouse keys
  7. EXTRAKEY_ENABLE = yes # Audio control and System control
  8. CONSOLE_ENABLE = no # Console for debug
  9. COMMAND_ENABLE = no # Commands for debug and configuration
  10. NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  11. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  12. AUDIO_ENABLE = no # Audio output
  13. UNICODE_ENABLE = no # Unicode
  14. BLUETOOTH_ENABLE = no # Enable Bluetooth
  15. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  16. SWAP_HANDS_ENABLE = no # Enable one-hand typing
  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. ifeq ($(strip $(KEYBOARD)), crkbd/rev1)
  20. OLED_DRIVER_ENABLE = yes
  21. RGB_MATRIX_ENABLE = yes
  22. HAPTIC_ENABLE = no
  23. BOOTLOADER = qmk-dfu
  24. endif
  25. ifeq ($(strip $(CTPC)), yes)
  26. HAPTIC_ENABLE = no
  27. WS2812_DRIVER = pwm # won't work without a patch to the ctpc mk file
  28. SERIAL_DRIVER = usart
  29. SWAP_HANDS_ENABLE = yes
  30. endif