rules.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # MCU name
  2. MCU = STM32F303
  3. BOARD = QMK_PROTON_C
  4. # Do not put the microcontroller into power saving mode
  5. # when we get USB suspend event. We want it to keep updating
  6. # backlight effects.
  7. OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
  8. # Build Options
  9. # comment out to disable the options.
  10. #
  11. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  12. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  13. MOUSEKEY_ENABLE = yes # Mouse keys
  14. EXTRAKEY_ENABLE = yes # Audio control and System control
  15. CONSOLE_ENABLE = no # Console for debug
  16. COMMAND_ENABLE = no # Commands for debug and configuration
  17. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  18. NKRO_ENABLE = yes # USB Nkey Rollover
  19. AUDIO_ENABLE = no # Audio output on port C6
  20. NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
  21. RGBLIGHT_ENABLE = yes # Underglow RGB
  22. WS2812_DRIVER = pwm # Underglow RGB Driver
  23. CIE1931_CURVE = yes
  24. LAYOUTS = 68_ansi
  25. # project specific files
  26. SRC += keyboards/wilba_tech/wt_main.c \
  27. keyboards/wilba_tech/wt_rgb_backlight.c \
  28. drivers/issi/is31fl3733.c \
  29. quantum/color.c
  30. QUANTUM_LIB_SRC += drivers/chibios/i2c_master.c