2 OPENOCD_IF ?
= interface
/stlink-v2.cfg
4 ifeq ($(TARGET_MCU
),STM32F3
)
5 OPENOCD_CFG
:= target
/stm32f3x.cfg
7 else ifeq ($(TARGET_MCU
),STM32F4
)
8 OPENOCD_CFG
:= target
/stm32f4x.cfg
10 else ifeq ($(TARGET_MCU
),STM32F7
)
11 OPENOCD_CFG
:= target
/stm32f7x.cfg
15 ifneq ($(OPENOCD_CFG
),)
16 OPENOCD_COMMAND
= $(OPENOCD
) -f
$(OPENOCD_IF
) -f
$(OPENOCD_CFG
)