scripts/dfuutil: add support for DfuSe devices

Add DFUUTIL_DFUSE_ADDR to the list of dfu-util environment variables,
which can be used to flash DfuSe devices (e.g. STM32 based MCUs).

Change-Id: I39fdc338f7f034376ce50b648b06f39fee3169a7
Signed-off-by: Ricardo Salveti <>
diff --git a/scripts/support/ b/scripts/support/
index feac1a8..c119eb0 100755
--- a/scripts/support/
+++ b/scripts/support/
@@ -39,6 +39,11 @@
+    # Allow DfuSe based devices by checking for DFUUTIL_DFUSE_ADDR
+    if [ -n "${DFUUTIL_DFUSE_ADDR}" ]; then
+    fi
     # Flash DFU device with specified image
     # Do NOT reset with -R, to avoid random 'error resetting after download'