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:
parent
5f8d58fbea
commit
82ae3eb8a6
2
dist/tools/jlink/jlink.sh
vendored
2
dist/tools/jlink/jlink.sh
vendored
@ -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
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user