rules.mk 778 B

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