rules.mk 696 B

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