rules.mk 1018 B

12345678910111213141516171819202122232425262728
  1. # MCU name
  2. MCU = STM32F072
  3. # Bootloader selection
  4. BOOTLOADER = stm32-dfu
  5. # Wildcard to allow APM32 MCU
  6. DFU_SUFFIX_ARGS = -v FFFF -p FFFF
  7. # Build Options
  8. # change yes to no to disable
  9. #
  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 = no # Breathing sleep LED during USB suspend
  16. NKRO_ENABLE = yes # USB Nkey Rollover
  17. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  18. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  19. MIDI_ENABLE = no # MIDI support
  20. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  21. AUDIO_ENABLE = no # Audio output on port C6
  22. WS2812_DRIVER = spi
  23. # Enter lower-power sleep mode when on the ChibiOS idle thread
  24. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE