From 012a0b02a8b281e8a47d0f93f846c5fcdfe8e5bd Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 4 May 2020 12:37:45 +0200 Subject: [PATCH] makefiles/stlink: fix common config filename --- makefiles/tools/openocd-adapters/stlink.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/tools/openocd-adapters/stlink.inc.mk b/makefiles/tools/openocd-adapters/stlink.inc.mk index e34db72dcd..a9a37b9597 100644 --- a/makefiles/tools/openocd-adapters/stlink.inc.mk +++ b/makefiles/tools/openocd-adapters/stlink.inc.mk @@ -28,6 +28,6 @@ ifeq (,$(OPENOCD_CONFIG)) # if no openocd default configuration is provided by the board, # use the STM32 common one ifeq (0,$(words $(wildcard $(BOARDDIR)/dist/openocd.cfg))) - OPENOCD_CONFIG = $(RIOTBASE)/boards/common/stm32/dist/$(CPU).cfg + OPENOCD_CONFIG = $(RIOTBASE)/boards/common/stm32/dist/$(CPU_FAM).cfg endif endif