Merge pull request #11770 from haslinghuis/raise-profile-count
[betaflight.git] / make / openocd.mk
blob84fd5aad4dda3ce55ad03bc37d4836a3cfa41c31
1 OPENOCD ?= openocd
2 OPENOCD_IF ?= interface/stlink-v2.cfg
4 ifeq ($(TARGET_MCU),STM32F4)
5 OPENOCD_CFG := target/stm32f4x.cfg
7 else ifeq ($(TARGET_MCU),STM32F7)
8 OPENOCD_CFG := target/stm32f7x.cfg
9 else
10 endif
12 ifneq ($(OPENOCD_CFG),)
13 OPENOCD_COMMAND = $(OPENOCD) -f $(OPENOCD_IF) -f $(OPENOCD_CFG)
14 endif