zephyr/scripts/support
Daniel Thompson 955ba73024 scripts: openocd.sh: Honour V=1
Currently running "make V=1 flash/debug" does not result in the caller
discovering what commands are run to perform the action because make
calls into an opaque script (which then makes complex invokations of
both openocd and gdb). Make the script more transparent by conditionally
enabling enabling tracing within the script.

We also remove the "Done flashing" message. It is pointless because
openocd has already *told* us it has done flashing ["wrote 16384 bytes
from file .../zephyr.elf in 0.802135s (19.947 KiB/s)"]. It is also
potentially misleading since it tells us we are "Done flashing" even
when we failed to flash anything which risks misleading someone
unfamiliar with openocd.

Change-Id: Icaea28c4b00ac10965726dd4502162b7de080953
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2017-04-27 13:01:08 +00:00
..
bossa-flash.sh
dfuutil.sh scripts/dfuutil: support both "alternate setting" name and number 2017-04-09 14:57:36 +00:00
nios2.sh
nrf_flash.sh scripts:nrf: Add 'make flash' for nrf boards. 2017-03-20 13:44:58 +00:00
openocd.sh scripts: openocd.sh: Honour V=1 2017-04-27 13:01:08 +00:00
qemu.sh
quartus-flash.py
xt-gdb.sh