rules.mk 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # MCU name
  2. MCU = STM32F072
  3. BOARD = GENERIC_STM32_F072XB
  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 = spi # Underglow RGB Driver
  23. CIE1931_CURVE = yes
  24. # project specific files
  25. SRC += keyboards/wilba_tech/wt_main.c \
  26. keyboards/wilba_tech/wt_rgb_backlight.c \
  27. drivers/issi/is31fl3731.c \
  28. quantum/color.c
  29. QUANTUM_LIB_SRC += drivers/chibios/i2c_master.c