diff --git a/tools/psoc6/mpy-psoc6.cmd b/tools/psoc6/mpy-psoc6.cmd index 50853da98aa67..6018e7ea1f412 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 dd420fddf59d6..1f22da5bc7d34 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