dist/tools/jlink: send output to /dev/null

While running `make term` JLinkExe is expecting commands and thus
can be disturbed by other JLink commands, e.g. `make reset`.
This enable `make test` (which runs those two commands at the same
time) on target using JLinkExe as a programmer/debugger.
This commit is contained in:
Francisco Acosta 2018-09-10 20:04:20 +02:00
parent 6265da2894
commit dfd349a05b

View File

@ -245,7 +245,7 @@ do_term() {
-speed '${JLINK_SPEED}' \
-if '${JLINK_IF}' \
-jtagconf -1,-1 \
-commandfile '${RIOTTOOLS}/jlink/term.seg' & \
-commandfile '${RIOTTOOLS}/jlink/term.seg' >/dev/null & \
echo \$! > $JLINK_PIDFILE" &
sh -c "${JLINK_TERMPROG} ${JLINK_TERMFLAGS}"