rules.mk 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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 = no # Virtual DIP switch configuration(+1000)
  6. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  7. EXTRAKEY_ENABLE = no # Audio control and System control(+450)
  8. CONSOLE_ENABLE = no # Console for debug(+400)
  9. COMMAND_ENABLE = no # Commands for debug and configuration
  10. NKRO_ENABLE = no # 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. MIDI_ENABLE = no # MIDI controls
  13. AUDIO_ENABLE = no # Audio output on port C6
  14. UNICODE_ENABLE = no # Unicode
  15. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  16. RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
  17. SWAP_HANDS_ENABLE = no # Enable one-hand typing
  18. TAP_DANCE_ENABLE = yes
  19. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  20. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  21. Link_Time_Optimization = yes # if firmware size over limit, try this option
  22. ifeq ($(strip $(Link_Time_Optimization)),yes)
  23. EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization
  24. endif
  25. # If you want to change the display of OLED, you need to change here
  26. SRC += ./lib/glcdfont.c \
  27. oled_helper.c \