mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/stm32.inc.mk: allow to override supported programmers
The check on supported programmers is now also done in the main Makefile.include, so it's removed from there
This commit is contained in:
parent
32cbbe05f2
commit
b4fecf33ed
@ -1,10 +1,5 @@
|
|||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
PROGRAMMERS_SUPPORTED += bmp dfu-util openocd stm32flash
|
||||||
PROGRAMMERS_SUPPORTED := bmp dfu-util openocd stm32flash jlink
|
|
||||||
|
|
||||||
ifeq (,$(filter $(PROGRAMMER), $(PROGRAMMERS_SUPPORTED)))
|
|
||||||
$(error Programmer $(PROGRAMMER) not supported)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq (bmp,$(PROGRAMMER))
|
ifeq (bmp,$(PROGRAMMER))
|
||||||
# On Blackmagic Probe, the first ACM is used to connect to the gdb server,
|
# On Blackmagic Probe, the first ACM is used to connect to the gdb server,
|
||||||
|
Loading…
Reference in New Issue
Block a user