Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/psoc6/mpy-psoc6: Added openocd from self releases. #66

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading