zephyr/scripts/support
Patrice Buriez 82188ed651 scripts: add support script for 'make flash' over DFU
Flashing the Arduino 101 board over DFU can be tricky: the
dfu-util command line is cumbersome, and the reset button
must be pressed at the right time.

This script brings the convenience of 'make flash' for the
Arduino 101 board and for other boards that support the DFU
protocol. It checks whether the board is in DFU mode, and
prompts the user to reset it when needed.

The dfu-util command line is constructed from the following
environment variables, to be exported from the Makefile:
- DFUUTIL: path to the dfu-util executable, default: dfu-util
- DFUUTIL_PID: vendor_ID:product_ID of the board in DFU mode
- DFUUTIL_ALT: alternate setting name of the DFU interface
- DFUUTIL_IMG: path to the binary image sent to the board

Change-Id: Ia9577ec96102a92d4c60481f980f30f4f6e7cd9e
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2017-03-14 23:38:13 +00:00
..
bossa-flash.sh boards: arduino_due: Add make flash support 2017-03-01 12:46:06 +00:00
dfuutil.sh scripts: add support script for 'make flash' over DFU 2017-03-14 23:38:13 +00:00
nios2.sh altera_max10: default to UFM flashing 2016-07-28 22:25:48 +00:00
openocd.sh board: organize boards based on architecture 2016-10-24 19:59:42 +00:00
qemu.sh build: use target 'debugserver' for Qemu debugging 2017-01-10 20:20:46 +00:00
quartus-flash.py nios2: add flashing/debug scripts 2016-06-10 15:22:40 +00:00
xt-gdb.sh xt-sim: add support for 'make debug' 2017-02-13 11:39:01 -08:00