From dfd349a05b0fb5ae3a0c8f65c25cafa6dc333d6c Mon Sep 17 00:00:00 2001 From: Francisco Acosta Date: Mon, 10 Sep 2018 20:04:20 +0200 Subject: [PATCH] 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. --- dist/tools/jlink/jlink.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/tools/jlink/jlink.sh b/dist/tools/jlink/jlink.sh index 5a278a6150..83c88e0dd5 100755 --- a/dist/tools/jlink/jlink.sh +++ b/dist/tools/jlink/jlink.sh @@ -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}"