makefiles/stlink: fix common config filename

This commit is contained in:
Alexandre Abadie 2020-05-04 12:37:45 +02:00
parent b6d2231d6d
commit 012a0b02a8
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -28,6 +28,6 @@ ifeq (,$(OPENOCD_CONFIG))
# if no openocd default configuration is provided by the board, # if no openocd default configuration is provided by the board,
# use the STM32 common one # use the STM32 common one
ifeq (0,$(words $(wildcard $(BOARDDIR)/dist/openocd.cfg))) 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
endif endif