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:
parent
6265da2894
commit
dfd349a05b
2
dist/tools/jlink/jlink.sh
vendored
2
dist/tools/jlink/jlink.sh
vendored
@ -245,7 +245,7 @@ do_term() {
|
|||||||
-speed '${JLINK_SPEED}' \
|
-speed '${JLINK_SPEED}' \
|
||||||
-if '${JLINK_IF}' \
|
-if '${JLINK_IF}' \
|
||||||
-jtagconf -1,-1 \
|
-jtagconf -1,-1 \
|
||||||
-commandfile '${RIOTTOOLS}/jlink/term.seg' & \
|
-commandfile '${RIOTTOOLS}/jlink/term.seg' >/dev/null & \
|
||||||
echo \$! > $JLINK_PIDFILE" &
|
echo \$! > $JLINK_PIDFILE" &
|
||||||
|
|
||||||
sh -c "${JLINK_TERMPROG} ${JLINK_TERMFLAGS}"
|
sh -c "${JLINK_TERMPROG} ${JLINK_TERMFLAGS}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user