]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/proton_c/rules.mk
f682c1fd6b0f9e962947aac71646cb0979411ce5
[qmk_firmware.git] / keyboards / proton_c / rules.mk
1 ## chip/board settings
2 # - the next two should match the directories in
3 #   <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4 MCU_FAMILY = STM32
5 MCU_SERIES = STM32F3xx
6
7 # Linker script to use
8 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
9 #   or <this_dir>/ld/
10 MCU_LDSCRIPT = STM32F303xC
11
12 # Startup code to use
13 #  - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
14 MCU_STARTUP = stm32f3xx
15
16 # Board: it should exist either in <chibios>/os/hal/boards/
17 #  or <this_dir>/boards
18 BOARD = GENERIC_STM32_F303XC
19
20 # Cortex version
21 MCU  = cortex-m4
22
23 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
24 ARMV = 7
25
26 USE_FPU = yes
27
28 # Vector table for application
29 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
30 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
31 # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
32 OPT_DEFS =
33
34 # Options to pass to dfu-util when flashing
35 DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
36
37 # Build Options
38 #   comment out to disable the options.
39 #
40 BACKLIGHT_ENABLE = no
41 BOOTMAGIC_ENABLE = yes  # Virtual DIP switch configuration
42 ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
43 MOUSEKEY_ENABLE = yes # Mouse keys
44 EXTRAKEY_ENABLE = yes # Audio control and System control
45 CONSOLE_ENABLE = yes  # Console for debug
46 COMMAND_ENABLE = yes    # Commands for debug and configuration
47 #SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
48 NKRO_ENABLE = yes     # USB Nkey Rollover
49 AUDIO_ENABLE = yes
50 RGBLIGHT_ENABLE = no
51 # SERIAL_LINK_ENABLE = yes