rules.mk 921 B

123456789101112131415161718192021222324252627
  1. # MCU name
  2. MCU = STM32F072
  3. # Bootloader selection
  4. BOOTLOADER = stm32-dfu
  5. # Wildcard to allow APM32 MCU
  6. DFU_SUFFIX_ARGS = -v FFFF -p FFFF
  7. # Do not put the microcontroller into power saving mode
  8. # when we get USB suspend event. We want it to keep updating
  9. # backlight effects.
  10. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
  11. # Build Options
  12. # change yes to no to disable
  13. #
  14. BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
  15. MOUSEKEY_ENABLE = yes # Mouse keys
  16. EXTRAKEY_ENABLE = yes # Audio control and System control
  17. CONSOLE_ENABLE = no # Console for debug
  18. COMMAND_ENABLE = no # Commands for debug and configuration
  19. NKRO_ENABLE = yes # Enable N-Key Rollover
  20. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  21. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  22. WS2812_DRIVER = pwm # Driver for RGB uderglow
  23. AUDIO_ENABLE = no # Audio output