Skip to content

Commit

Permalink
tools/upload.sh: Openocd extension not required in mtb-shell env.
Browse files Browse the repository at this point in the history
Signed-off-by: jaenrig-ifx <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Oct 3, 2024
1 parent d2e45fd commit a08fd9f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ verbose_flag=$9

function get_openocd_exe {
openocd_exe="${mtb_tools_path}/openocd/bin/openocd"
# Depending on the OS, the openocd executable
# file extension changes.
# Add ".exe" extension if the OS is Windows or cygwin
if [[ "$OSTYPE" == "msys" ]]; then
openocd_exe="${openocd_exe}.exe"
fi
echo ${openocd_exe}
}

Expand Down

0 comments on commit a08fd9f

Please sign in to comment.