rules.mk 1.1 KB

123456789101112131415161718192021222324252627
  1. # CPU frequency divided by two since AVR is at 3.3 V
  2. F_CPU = 8000000
  3. # External oscillator is 16 MHz
  4. F_USB = 16000000
  5. # Build options
  6. # change yes to no to disable
  7. BOOTMAGIC_ENABLE = no # Bootmagic Lite
  8. MOUSEKEY_ENABLE = no # Mouse keys
  9. EXTRAKEY_ENABLE = yes # Audio control and system control
  10. CONSOLE_ENABLE = no # Console for debug
  11. COMMAND_ENABLE = no # Commands for debug and configuration
  12. DYNAMIC_KEYMAP_ENABLE = yes # Reconfigurable keyboard without flashing firmware
  13. NKRO_ENABLE = yes # USB N-key rollover
  14. RAW_ENABLE = yes # Raw HID commands (used by Keyboard Configurator)
  15. BACKLIGHT_ENABLE = no # RGB backlight (conflicts with RGB matrix)
  16. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  17. RGB_MATRIX_ENABLE = yes # RGB matrix
  18. RGB_MATRIX_DRIVER = WS2812
  19. RGB_MATRIX_CUSTOM_KB = yes # Custom keyboard effects
  20. AUDIO_ENABLE = no # Audio output
  21. LTO_ENABLE = yes # Link-time optimization for smaller binary
  22. # Add System76 EC command interface as well as I2C and USB mux drivers
  23. SRC += system76_ec.c usb_mux.c
  24. QUANTUM_LIB_SRC += i2c_master.c