rules.mk 778 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. # 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. BACKLIGHT_ENABLE = yes
  18. RGBLIGHT_ENABLE = yes
  19. WS2812_DRIVER = spi
  20. DEFAULT_FOLDER = cannonkeys/db60/rev2
  21. # Enter lower-power sleep mode when on the ChibiOS idle thread
  22. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE