1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/jlink
Gaëtan Harter a354b10964
jlink.sh: Exit with an error on failure for JLinkExe commands
On error Jlink exits with a no error code by default.

From the JLink User Guide:

'-ExitOnError' has the same meaning as the 'exitonerror' command

    'exitonerror' command
    This command toggles whether J-Link Commander exits on error or not.

    1: J-Link Commander will now exit on Error.
    0: J-Link Commander will no longer exit on Error.

Executing 'flash/reset' without a board connected now correctly returns an
error. For 'term' it does not show an error due to the way it is handled
internally.

It also returns an error when the board fails to do an operation when it
is in a state where it cannot be flashed for example.
2019-03-28 11:26:24 +01:00
..
jlink.sh jlink.sh: Exit with an error on failure for JLinkExe commands 2019-03-28 11:26:24 +01:00
reset.seg dist: added common JLink script for flashing 2015-10-28 11:19:38 +01:00
term.seg tools/jlink: add RTT terminal support (term_rtt) 2018-01-15 23:01:34 +01:00