1
0
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:
Alexandre Abadie 2021-02-11 14:12:50 +01:00
parent 32cbbe05f2
commit b4fecf33ed
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -1,10 +1,5 @@
PROGRAMMER ?= openocd
PROGRAMMERS_SUPPORTED := bmp dfu-util openocd stm32flash jlink
ifeq (,$(filter $(PROGRAMMER), $(PROGRAMMERS_SUPPORTED)))
$(error Programmer $(PROGRAMMER) not supported)
endif
PROGRAMMERS_SUPPORTED += bmp dfu-util openocd stm32flash
ifeq (bmp,$(PROGRAMMER))
# On Blackmagic Probe, the first ACM is used to connect to the gdb server,