Skip to content

Commit

Permalink
tools/psoc6/mpy-psoc6: Added openocd from self releases.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx authored and actions-user committed Jul 22, 2023
1 parent 2d2c46a commit 3f91bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/psoc6/mpy-psoc6.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down
2 changes: 1 addition & 1 deletion tools/psoc6/mpy-psoc6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f91bbe

Please sign in to comment.