rules.mk 790 B

12345678910111213141516171819202122232425262728
  1. # MCU name
  2. MCU = STM32F072
  3. # Build Options
  4. # comment out to disable the options.
  5. #
  6. SRC += led.c \
  7. satisfaction_encoder.c \
  8. satisfaction_oled.c
  9. #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
  10. MOUSEKEY_ENABLE = yes # Mouse keys
  11. EXTRAKEY_ENABLE = yes # Audio control and System control
  12. CONSOLE_ENABLE = yes # Console for debug
  13. COMMAND_ENABLE = yes # Commands for debug and configuration
  14. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  15. NKRO_ENABLE = yes # USB Nkey Rollover
  16. CUSTOM_MATRIX = no # Custom matrix file
  17. ENCODER_ENABLE = yes
  18. QWIIC_ENABLE += MICRO_OLED
  19. #BACKLIGHT_ENABLE = yes
  20. DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1
  21. # Enter lower-power sleep mode when on the ChibiOS idle thread
  22. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE