zephyr/scripts/support
Patrice Buriez fd8c59b996 scripts/dfuutil: support both "alternate setting" name and number
Initial assumption with Arduino 101 was that the "alternate setting
name of the DFU interface" would be simple enough to be used as the
grep pattern when attempting to find the board in DFU mode.
However, for boards such as the 96Boards Carbon, this name includes
grep meta-characters, so the DFUUTIL_ALT environment variable is
provided as a numeric value, instead of the previously expected name
string.
In order to avoid false positives, we now check whether DFUUTIL_ALT
is a numeric value, and the grep pattern is adjusted accordingly to
search for either "alt=" or "name=".
Also take into account that the name might contain spaces.

Change-Id: I81351d03bd727b35093fd1280e2b8b6904f3c89b
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2017-04-09 14:57:36 +00:00
..
bossa-flash.sh boards: arduino_due: Add make flash support 2017-03-01 12:46:06 +00:00
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: align usage of OPENOCD_*_CMD variables 2017-04-01 12:21:36 +00:00
qemu.sh build: use target 'debugserver' for Qemu debugging 2017-01-10 20:20:46 +00:00
quartus-flash.py
xt-gdb.sh xt-sim: add support for 'make debug' 2017-02-13 11:39:01 -08:00