From 2ced50ed16b29fc3fb51ac5c56da1b03a9d6b79e Mon Sep 17 00:00:00 2001 From: Ondrej Mikle Date: Mon, 4 Apr 2022 13:02:09 +0200 Subject: [PATCH] fix(core): update JLink command line flashing parameters [no changelog] --- core/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/Makefile b/core/Makefile index 527d132789..0aae1a588d 100644 --- a/core/Makefile +++ b/core/Makefile @@ -231,18 +231,18 @@ flash_erase_storage: ## erase storage sectors from flash $(OPENOCD) -c "init; flash erase_sector 0 4 4; flash erase_sector 0 16 16; exit" flash_bootloader_jlink: $(BOOTLOADER_BUILD_DIR)/bootloader.bin ## flash bootloader using JLink - JLinkExe -nogui -commanderscript embed/bootloader/bootloader_flash.jlink + JLinkExe -nogui 1 -commanderscript embed/bootloader/bootloader_flash.jlink flash_bootloader_ci_jlink: $(BOOTLOADER_CI_BUILD_DIR)/bootloader.bin ## flash CI bootloader using JLink - JLinkExe -nogui -commanderscript embed/bootloader_ci/bootloader_flash.jlink + JLinkExe -nogui 1 -commanderscript embed/bootloader_ci/bootloader_flash.jlink flash_firmware_jlink: $(FIRMWARE_BUILD_DIR)/firmware.bin ## flash firmware using JLink. file names must end in .bin for JLink cp -f $<.p1 $<.p1.bin cp -f $<.p2 $<.p2.bin - JLinkExe -nogui -commanderscript embed/firmware/firmware_flash.jlink + JLinkExe -nogui 1 -commanderscript embed/firmware/firmware_flash.jlink flash_firmware_t1_jlink: $(FIRMWARE_BUILD_DIR)/firmware.bin ## flash T1 core port via JLink - JLinkExe -nogui -commanderscript embed/firmware/firmware_flash_t1.jlink + JLinkExe -nogui 1 -commanderscript embed/firmware/firmware_flash_t1.jlink ## openocd debug commands: