rules.mk 675 B

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