rules.mk 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This enables Link Time Optimization. This can save a good chunk of space (several KB for me), but the macro and function ... functions cause it to error out.
  2. LINK_TIME_OPTIMIZATION_ENABLE = yes
  3. # Build Options
  4. # change to "no" to disable the options, or define them in the Makefile in
  5. # the appropriate keymap folder that will get included automatically
  6. #
  7. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  8. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  9. NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  10. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  11. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  12. CONSOLE_ENABLE = no # Console for debug(+400)
  13. COMMAND_ENABLE = no # Commands for debug and configuration
  14. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  15. MIDI_ENABLE = no # MIDI controls
  16. AUDIO_ENABLE = no # Audio output on port C6
  17. UNICODE_ENABLE = no # Unicode
  18. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  19. SWAP_HANDS_ENABLE = no # Enable one-hand typing
  20. RGB_MATRIX_ENABLE = WS2812
  21. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  22. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  23. BOOTLOADER = qmk-dfu
  24. OLED_DRIVER_ENABLE = yes
  25. # ifneq ($(strip $(OLED_DRIVER_ENABLE)), yes)
  26. # RGB_MATRIX_SPLIT_RIGHT=yes
  27. # endif