rules.mk 688 B

12345678910111213141516171819202122232425
  1. # MCU name
  2. MCU = STM32F072
  3. # Bootloader selection
  4. BOOTLOADER = stm32-dfu
  5. # Build Options
  6. # comment out to disable the options.
  7. #
  8. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  9. MOUSEKEY_ENABLE = yes # Mouse keys
  10. EXTRAKEY_ENABLE = yes # Audio control and System control
  11. CONSOLE_ENABLE = yes # Console for debug
  12. COMMAND_ENABLE = yes # Commands for debug and configuration
  13. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  14. NKRO_ENABLE = yes # USB Nkey Rollover
  15. CUSTOM_MATRIX = no # Custom matrix file
  16. BACKLIGHT_ENABLE = yes
  17. RGBLIGHT_ENABLE = no
  18. # Enter lower-power sleep mode when on the ChibiOS idle thread
  19. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE