commit | 1502c6631d65c7bf869ea74ecae3c66fe60e6205 | [log] [tgz] |
---|---|---|
author | Bartosz Bilas <b.bilas@grinn-global.com> | Tue Oct 26 16:30:03 2021 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Oct 28 10:57:28 2021 +0200 |
tree | 6d44e6eb761a535d90d1455e67761d30b479d262 | |
parent | f6e829a68b1ae7b127bb847d0947df0cc9f708a2 [diff] |
runners: jlink: exit with error in case of a failure Add "ExitOnError 1" argument that treats any command-error as fatal thus in the case of a programming error the "west flash" command will return the correct error code instead of the default 0. It fixes the false positive return codes when e.g we call west flash command without a connected programmer or with the disconnected board. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>