Skip to content
Snippets Groups Projects
Unverified Commit cb8e78da authored by Francisco Acosta's avatar Francisco Acosta Committed by GitHub
Browse files

Merge pull request #9916 from kYc0o/pr/tools/fix_kill_testrunner

dist/tools/jlink.sh: fix testrunner on stdio_rtt based devices
parents ed24d362 ad87b287
No related branches found
No related tags found
No related merge requests found
...@@ -234,12 +234,12 @@ do_term() { ...@@ -234,12 +234,12 @@ do_term() {
# don't trapon Ctrl+C, because JLink keeps running # don't trapon Ctrl+C, because JLink keeps running
trap '' INT trap '' INT
# start Jlink as RTT server # start Jlink as RTT server
setsid sh -c "${JLINK} ${JLINK_SERIAL} \ sh -c "${JLINK} ${JLINK_SERIAL} \
-device '${JLINK_DEVICE}' \ -device '${JLINK_DEVICE}' \
-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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment