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

makefiles/stlink: fix path to default stm32 openocd config files

This commit is contained in:
Alexandre Abadie 2020-05-27 15:44:28 +02:00
parent 692f0ee690
commit 4cd1d54715
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,
# 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