2 OPENOCD_IF ?
= interface
/stlink-v2.cfg
4 ifeq ($(TARGET_MCU_FAMILY
),STM32F4
)
5 OPENOCD_CFG
:= target
/stm32f4x.cfg
7 else ifeq ($(TARGET_MCU_FAMILY
),STM32G4
)
8 OPENOCD_CFG
:= target
/stm32g4x.cfg
10 else ifeq ($(TARGET_MCU_FAMILY
),STM32F7
)
11 OPENOCD_CFG
:= target
/stm32f7x.cfg
13 else ifeq ($(TARGET_MCU_FAMILY
),STM32H7
)
14 OPENOCD_CFG
:= target
/stm32h7x.cfg
17 ifneq ($(OPENOCD_CFG
),)
18 OPENOCD_COMMAND
= $(OPENOCD
) -f
$(OPENOCD_IF
) -f
$(OPENOCD_CFG
)