]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/stm32/proton_c.mk
Adds Proton C Conversion (#4661)
[qmk_firmware.git] / quantum / stm32 / proton_c.mk
1 # Proton C MCU settings for converting AVR projects
2
3 # These are defaults based on what has been implemented for ARM boards
4 AUDIO_ENABLE = yes
5 RGBLIGHT_ENABLE = no
6 BACKLIGHT_ENABLE = no
7
8 # The rest of these settings shouldn't change
9
10 ## chip/board settings
11 # - the next two should match the directories in
12 #   <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
13 MCU_FAMILY = STM32
14 MCU_SERIES = STM32F3xx
15
16 # Linker script to use
17 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
18 #   or <this_dir>/ld/
19 MCU_LDSCRIPT = STM32F303xC
20
21 # Startup code to use
22 #  - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
23 MCU_STARTUP = stm32f3xx
24
25 # Board: it should exist either in <chibios>/os/hal/boards/
26 #  or <this_dir>/boards
27 BOARD = GENERIC_STM32_F303XC
28
29 # Cortex version
30 MCU  = cortex-m4
31
32 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
33 ARMV = 7
34
35 USE_FPU = yes
36
37 # Vector table for application
38 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
39 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
40 # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
41 OPT_DEFS =
42
43 # Options to pass to dfu-util when flashing
44 DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave