rules.mk 844 B

12345678910111213141516171819202122232425262728
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. BOOTLOADER = atmel-dfu
  5. # Build Options
  6. # change yes to no to disable
  7. #
  8. BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
  9. MOUSEKEY_ENABLE = yes # Mouse keys
  10. EXTRAKEY_ENABLE = yes # Audio control and System control
  11. CONSOLE_ENABLE = no # Console for debug
  12. COMMAND_ENABLE = yes # Commands for debug and configuration
  13. NKRO_ENABLE = no # Enable N-Key Rollover
  14. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  15. AUDIO_ENABLE = no # Audio output
  16. SRC += mxss_frontled.c
  17. # Remove the common RGB light code and use my iteration instead
  18. COMMON_VPATH += $(QUANTUM_DIR)/rgblight
  19. OPT_DEFS += -DRGBLIGHT_ENABLE
  20. SRC += rgblight.c
  21. SRC += $(QUANTUM_DIR)/color.c
  22. WS2812_DRIVER_REQUIRED = yes
  23. CIE1931_CURVE = yes
  24. RGB_KEYCODES_ENABLE = yes