rules.mk 815 B

12345678910111213141516171819202122232425262728
  1. # MCU name
  2. MCU = STM32F072
  3. # Build Options
  4. # comment out to disable the options.
  5. #
  6. # project specific files
  7. VPATH += keyboards/cannonkeys/stm32f072
  8. SRC = keyboard.c \
  9. led.c
  10. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  11. MOUSEKEY_ENABLE = yes # Mouse keys
  12. EXTRAKEY_ENABLE = yes # Audio control and System control
  13. CONSOLE_ENABLE = yes # Console for debug
  14. COMMAND_ENABLE = yes # Commands for debug and configuration
  15. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  16. NKRO_ENABLE = yes # USB Nkey Rollover
  17. CUSTOM_MATRIX = no # Custom matrix file
  18. # BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
  19. RGBLIGHT_ENABLE = yes
  20. LAYOUTS = 60_ansi 60_tsangan_hhkb
  21. # Enter lower-power sleep mode when on the ChibiOS idle thread
  22. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE