diff --git a/makefiles/boards/stm32.inc.mk b/makefiles/boards/stm32.inc.mk index c55374a2c7..d848177415 100644 --- a/makefiles/boards/stm32.inc.mk +++ b/makefiles/boards/stm32.inc.mk @@ -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,