rules.mk 754 B

12345678910111213141516171819202122232425262728
  1. # MCU name
  2. MCU = STM32F103
  3. # Bootloader selection
  4. BOOTLOADER = stm32duino
  5. # project specific files
  6. VPATH += keyboards/cannonkeys/bluepill
  7. SRC = keyboard.c
  8. #BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
  9. MOUSEKEY_ENABLE = yes # Mouse keys
  10. EXTRAKEY_ENABLE = yes # Audio control and System control
  11. CONSOLE_ENABLE = yes # Console for debug
  12. COMMAND_ENABLE = yes # Commands for debug and configuration
  13. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  14. NKRO_ENABLE = yes # USB Nkey Rollover
  15. BACKLIGHT_ENABLE = yes
  16. RGBLIGHT_ENABLE = yes
  17. WS2812_DRIVER = spi
  18. LAYOUTS = 60_ansi
  19. DEFAULT_FOLDER = cannonkeys/practice60
  20. # Enter lower-power sleep mode when on the ChibiOS idle thread
  21. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE