rules.mk 771 B

1234567891011121314151617181920212223242526
  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. # Build Options
  8. # comment out to disable the options.
  9. #
  10. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  11. MOUSEKEY_ENABLE = yes # Mouse keys
  12. EXTRAKEY_ENABLE = yes # Audio control and System control
  13. CONSOLE_ENABLE = yes # Console for debug
  14. COMMAND_ENABLE = yes # Commands for debug and configuration
  15. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  16. NKRO_ENABLE = yes # USB Nkey Rollover
  17. CUSTOM_MATRIX = no # Custom matrix file
  18. BACKLIGHT_ENABLE = yes
  19. RGBLIGHT_ENABLE = yes
  20. WS2812_DRIVER = spi
  21. # Enter lower-power sleep mode when on the ChibiOS idle thread
  22. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE