rules.mk 634 B

12345678910111213141516171819202122
  1. # MCU name
  2. MCU = STM32F103
  3. # Bootloader selection
  4. BOOTLOADER = stm32duino
  5. SRC = matrix.c
  6. #BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
  7. MOUSEKEY_ENABLE = yes # Mouse keys
  8. EXTRAKEY_ENABLE = yes # Audio control and System control
  9. CONSOLE_ENABLE = yes # Console for debug
  10. COMMAND_ENABLE = yes # Commands for debug and configuration
  11. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  12. NKRO_ENABLE = yes # USB Nkey Rollover
  13. BACKLIGHT_ENABLE = no
  14. RGBLIGHT_ENABLE = no
  15. CUSTOM_MATRIX = yes
  16. # Enter lower-power sleep mode when on the ChibiOS idle thread
  17. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE