1
0

rules.mk 698 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. # EXTRAFLAGS+=-flto
  9. LTO_ENABLE = yes
  10. BACKLIGHT_ENABLE = no
  11. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  12. MOUSEKEY_ENABLE = no # Mouse keys
  13. EXTRAKEY_ENABLE = yes # Audio control and System control
  14. CONSOLE_ENABLE = no # Console for debug
  15. COMMAND_ENABLE = no # Commands for debug and configuration
  16. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  17. NKRO_ENABLE = yes # USB Nkey Rollover
  18. AUDIO_ENABLE = no
  19. RGBLIGHT_ENABLE = no
  20. # Enter lower-power sleep mode when on the ChibiOS idle thread
  21. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE