diff --git a/src/platforms/hosted/Makefile.inc b/src/platforms/hosted/Makefile.inc index 9a3c4b632f8..27cd27fbe13 100644 --- a/src/platforms/hosted/Makefile.inc +++ b/src/platforms/hosted/Makefile.inc @@ -109,7 +109,6 @@ ifneq ($(HOSTED_BMP_ONLY), 1) endif ifneq ($(HOSTED_BMP_ONLY), 1) - CFLAGS += -DCMSIS_DAP SRC += cmsis_dap.c dap.c dap_command.c dap_swd.c dap_jtag.c ifneq ($(shell pkg-config --exists $(HIDAPILIB); echo $$?), 0) $(error Please install $(HIDAPILIB) dependency or set HOSTED_BMP_ONLY to 1)