makefiles/stlink: fix common config filename
This commit is contained in:
parent
b6d2231d6d
commit
012a0b02a8
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user