rules.mk 1.0 KB

1234567891011121314151617181920212223242526
  1. # MCU name
  2. MCU = STM32F072
  3. BOARD = GENERIC_STM32_F072XB
  4. # Bootloader selection
  5. BOOTLOADER = stm32-dfu
  6. # Build Options
  7. # comment out to disable the options.
  8. #
  9. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  10. MOUSEKEY_ENABLE = yes # Mouse keys
  11. EXTRAKEY_ENABLE = yes # Audio control and System control
  12. CONSOLE_ENABLE = no # Console for debug
  13. COMMAND_ENABLE = no # Commands for debug and configuration
  14. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  15. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  16. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  17. NKRO_ENABLE = yes # USB Nkey Rollover
  18. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  19. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  20. BLUETOOTH_ENABLE = no # Enable Bluetooth
  21. AUDIO_ENABLE = no # Audio output
  22. # Enter lower-power sleep mode when on the ChibiOS idle thread
  23. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE