From 470b88a3ecaad7a063d5d52446e44a329bc4ca05 Mon Sep 17 00:00:00 2001 From: enriquezgarc Date: Tue, 27 Jun 2023 13:06:32 +0200 Subject: [PATCH] ports/psoc6/boards/../makefile_mtb.mk: Fixed program target. Signed-off-by: enriquezgarc --- ports/psoc6/boards/CY8CPROTO-062-4343W/makefile_mtb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/psoc6/boards/CY8CPROTO-062-4343W/makefile_mtb.mk b/ports/psoc6/boards/CY8CPROTO-062-4343W/makefile_mtb.mk index a1ed91d881487..63f266b6f7126 100644 --- a/ports/psoc6/boards/CY8CPROTO-062-4343W/makefile_mtb.mk +++ b/ports/psoc6/boards/CY8CPROTO-062-4343W/makefile_mtb.mk @@ -80,7 +80,7 @@ mpy_program: $(MPY_MAIN_BUILD_DIR)/firmware.hex @: $(info ) $(info Programming using openocd ...) - $(OPENOCD_HOME)/bin/openocd -s $(OPENOCD_HOME)/scripts -s bsps/TARGET_APP_CY8CPROTO-062-4343W/config/GeneratedSource -c "source [find interface/kitprog3.cfg]; $(SERIAL_ADAPTER_CMD) ; source [find target/psoc6_2m.cfg]; psoc6 allow_efuse_program off; psoc6 sflash_restrictions 1; program $(MPY_DIR_OF_MAIN_MAKEFILE)/build/firmware.hex verify reset exit;" + $(OPENOCD_HOME)/bin/openocd -s $(OPENOCD_HOME)/scripts -s $(MPY_DIR_OF_MTB_ADAPTER_MAKEFILE)/bsps/TARGET_APP_CY8CPROTO-062-4343W/config/GeneratedSource -c "source [find interface/kitprog3.cfg]; $(SERIAL_ADAPTER_CMD) ; source [find target/psoc6_2m.cfg]; psoc6 allow_efuse_program off; psoc6 sflash_restrictions 1; program $(MPY_DIR_OF_MAIN_MAKEFILE)/build/firmware.hex verify reset exit;" $(info Programming done.) # Use this target to program multiple attached target devices