You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
845 B

  1. # MCU name
  2. MCU = STM32F103
  3. # GENERIC STM32F103C8T6 board - stm32duino bootloader
  4. MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
  5. BOARD = STM32_F103_STM32DUINO
  6. DFU_ARGS = -d 1eaf:0003 -a2 -R
  7. DFU_SUFFIX_ARGS = -v 1eaf -p 0003
  8. # project specific files
  9. VPATH += keyboards/cannonkeys/bluepill
  10. SRC = keyboard.c
  11. #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
  12. MOUSEKEY_ENABLE = yes # Mouse keys
  13. EXTRAKEY_ENABLE = yes # Audio control and System control
  14. CONSOLE_ENABLE = yes # Console for debug
  15. COMMAND_ENABLE = yes # Commands for debug and configuration
  16. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  17. NKRO_ENABLE = yes # USB Nkey Rollover
  18. BACKLIGHT_ENABLE = yes
  19. RGBLIGHT_ENABLE = yes
  20. WS2812_DRIVER = spi
  21. # Enter lower-power sleep mode when on the ChibiOS idle thread
  22. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE