rules.mk 806 B

12345678910111213141516171819202122232425
  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. TAP_DANCE_ENABLE = no
  6. # If your custom treadstone32 pcb, you can rewrite to yes.
  7. RGBLIGHT_ENABLE = yes # LED underglow (Enable WS2812 RGB underlight.)
  8. LED_ANIMATIONS = yes # LED animations
  9. # Other selectable option
  10. IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
  11. ifeq ($(strip $(LED_ANIMATIONS)), yes)
  12. # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
  13. OPT_DEFS += -DLED_ANIMATIONS
  14. endif
  15. ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
  16. OPT_DEFS += -DIOS_DEVICE_ENABLE
  17. endif
  18. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  19. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend