rules.mk 787 B

123456789101112131415161718192021222324252627
  1. # MCU name
  2. MCU = STM32F103
  3. # GENERIC STM32F103C8T6 board - stm32duino bootloader
  4. OPT_DEFS = -DCORTEX_VTOR_INIT=0x2000
  5. MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
  6. BOARD = GENERIC_STM32_F103
  7. DFU_ARGS = -d 1eaf:0003 -a2 -R
  8. DFU_SUFFIX_ARGS = -v 1eaf -p 0003
  9. # project specific files
  10. VPATH += keyboards/cannonkeys/bluepill
  11. SRC = led.c \
  12. keyboard.c
  13. #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
  14. MOUSEKEY_ENABLE = yes # Mouse keys
  15. EXTRAKEY_ENABLE = yes # Audio control and System control
  16. CONSOLE_ENABLE = yes # Console for debug
  17. COMMAND_ENABLE = yes # Commands for debug and configuration
  18. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  19. NKRO_ENABLE = yes # USB Nkey Rollover
  20. BACKLIGHT_ENABLE = yes
  21. RGBLIGHT_ENABLE = yes
  22. LAYOUTS = ortho_5x12