rules.mk 689 B

1234567891011121314151617181920212223
  1. # MCU name
  2. MCU = STM32F042
  3. # Bootloader selection
  4. BOOTLOADER = stm32-dfu
  5. # Build Options
  6. # comment out to disable the options.
  7. #
  8. BACKLIGHT_ENABLE = no
  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 = no # Console for debug
  13. COMMAND_ENABLE = no # Commands for debug and configuration
  14. NKRO_ENABLE = yes # USB Nkey Rollover
  15. NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
  16. LAYOUTS = 65_ansi_blocker
  17. # Enter lower-power sleep mode when on the ChibiOS idle thread
  18. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE