1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #14153 from aabadie/pr/make/openocd_stlink_fix

makefiles/stlink: fix path to default stm32 openocd config files
This commit is contained in:
Leandro Lanzieri 2020-05-27 16:18:30 +02:00 committed by GitHub
commit d4e90d3ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_FAM).cfg
OPENOCD_CONFIG = $(RIOTBASE)/boards/common/stm32/dist/stm32$(CPU_FAM).cfg
endif
endif