1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tools/jlink.sh: allow to skip version check

This commit is contained in:
Hauke Petersen 2021-01-19 21:28:00 +01:00
parent 5f8d58fbea
commit 82ae3eb8a6

View File

@ -156,6 +156,7 @@ test_term() {
}
test_version() {
if [ -z "${JLINK_SKIP_VERSION}" ]; then
JLINK_MINIMUM_VERSION="6.74"
# Adding '-nogui 1' will simply return 'Unknown command line option -nogui'
# on older versions, JLINK_VERSION will still be parsed correctly.
@ -172,6 +173,7 @@ test_version() {
echo "Error: J-Link V$JLINK_MINIMUM_VERSION is required, but V${JLINK_VERSION} is installed"
exit 1
fi
fi
}
#