2 # - the next two should match the directories in
3 # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
8 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
10 MCU_LDSCRIPT = STM32F072xB
13 # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
14 MCU_STARTUP = stm32f0xx
16 # Board: it should exist either in <chibios>/os/hal/boards/
17 # or <this_dir>/boards
18 BOARD = ST_STM32F072B_DISCOVERY
23 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
26 # Vector table for application
27 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
28 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
29 # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
32 # Options to pass to dfu-util when flashing
33 DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
34 DFU_SUFFIX_ARGS = -p DF11 -v 0483
37 # comment out to disable the options.
40 LINK_TIME_OPTIMIZATION_ENABLE = yes
42 BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
43 ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
44 MOUSEKEY_ENABLE = no # Mouse keys
45 EXTRAKEY_ENABLE = yes # Audio control and System control
46 CONSOLE_ENABLE = no # Console for debug
47 COMMAND_ENABLE = no # Commands for debug and configuration
48 SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
49 NKRO_ENABLE = yes # USB Nkey Rollover
52 SERIAL_LINK_ENABLE = no