rules.mk 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # MCU name
  2. MCU = STM32F303
  3. # Bootloader selection
  4. BOOTLOADER = stm32-dfu
  5. # Do not put the microcontroller into power saving mode
  6. # when we get USB suspend event. We want it to keep updating
  7. # backlight effects.
  8. OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
  9. # Build Options
  10. # change yes to no to disable
  11. #
  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. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  18. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  19. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  20. NKRO_ENABLE = yes # USB Nkey Rollover
  21. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  22. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  23. BLUETOOTH_ENABLE = no # Enable Bluetooth
  24. AUDIO_ENABLE = no # Audio output
  25. NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
  26. CIE1931_CURVE = yes
  27. LAYOUTS = 65_ansi
  28. # project specific files
  29. SRC += keyboards/wilba_tech/wt_main.c \
  30. keyboards/wilba_tech/wt_rgb_backlight.c \
  31. drivers/issi/is31fl3733.c \
  32. quantum/color.c
  33. QUANTUM_LIB_SRC += drivers/chibios/i2c_master.c