rules.mk 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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
  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. RGBLIGHT_ENABLE = yes # Enable global lighting effects. Do not enable with RGB Matrix
  12. RGBLIGHT_ANIMATIONS = yes # LED animations
  13. LED_MIRRORED = yes # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
  14. RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
  15. RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. Can be very laggy
  16. RGBLIGHT_FULL_POWER = no # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port
  17. UNICODE_ENABLE = no # Unicode
  18. SWAP_HANDS_ENABLE = no # Enable one-hand typing
  19. ENCODER_ENABLE_CUSTOM = no # Enable rotary encoder
  20. AUDIO_ENABLE = no
  21. OLED_ENABLE = no # OLED_ENABLE
  22. IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone)
  23. DEFAULT_FOLDER = rgbkb/sol/rev1
  24. ENCODER_ENABLE = no
  25. OLED_DRIVER_ENABLE = yes
  26. # Do not edit past here
  27. ifeq ($(strip $(OLED_ENABLE)), yes)
  28. OPT_DEFS += -DOLED_ENABLE
  29. endif
  30. ifeq ($(strip $(ENCODER_ENABLE_CUSTOM)), yes)
  31. OPT_DEFS += -DENCODER_ENABLE_CUSTOM
  32. SRC += common/knob_v2.c
  33. endif
  34. ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
  35. OPT_DEFS += -DIOS_DEVICE_ENABLE
  36. else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes)
  37. OPT_DEFS += -DRGBLIGHT_FULL_POWER
  38. endif
  39. ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
  40. OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
  41. endif
  42. ifeq ($(strip $(LED_MIRRORED)), yes)
  43. OPT_DEFS += -DLED_MIRRORED
  44. endif