From 3f91bbed933d236de2cd5da63577f76718b818ae Mon Sep 17 00:00:00 2001 From: enriquezgarc Date: Wed, 19 Jul 2023 16:20:50 +0200 Subject: [PATCH] tools/psoc6/mpy-psoc6: Added openocd from self releases. Signed-off-by: enriquezgarc --- tools/psoc6/mpy-psoc6.cmd | 2 +- tools/psoc6/mpy-psoc6.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/psoc6/mpy-psoc6.cmd b/tools/psoc6/mpy-psoc6.cmd index 50853da98aa6..6018e7ea1f41 100644 --- a/tools/psoc6/mpy-psoc6.cmd +++ b/tools/psoc6/mpy-psoc6.cmd @@ -117,7 +117,7 @@ exit /b 0 :openocd_download_install echo Downloading openocd... - curl.exe -s -L https://github.com/Infineon/openocd/releases/download/release-v4.4.0/openocd-4.4.0.2134-windows.zip > openocd.zip + curl.exe -s -L https://github.com/Infineon/micropython/releases/download/v0.3.0/openocd-4.4.0.2134-windows.zip > openocd.zip echo Extracting openocd... powershell -command "Expand-Archive -Force 'openocd.zip' -DestinationPath '.'" set PATH=openocd\bin;%PATH% diff --git a/tools/psoc6/mpy-psoc6.sh b/tools/psoc6/mpy-psoc6.sh index dd420fddf59d..1f22da5bc7d3 100755 --- a/tools/psoc6/mpy-psoc6.sh +++ b/tools/psoc6/mpy-psoc6.sh @@ -78,7 +78,7 @@ function mpy_firmware_clean { function openocd_download_install { echo Downloading openocd... - curl -s -L https://github.com/Infineon/openocd/releases/download/release-v4.4.0/openocd-4.4.0.2134-linux.tar.gz > openocd.tar.gz + curl -s -L https://github.com/Infineon/micropython/releases/download/v0.3.0/openocd-4.4.0.2134-linux.tar.gz > openocd.tar.gz echo Extracting openocd... tar -xf openocd.tar.gz export PATH=${PWD}/openocd/bin:$PATH