rules.mk 950 B

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