Skip to content

Instantly share code, notes, and snippets.

@ciniml
Created November 3, 2017 00:20
Show Gist options
  • Save ciniml/9dfe4add8b8368076adcf7460226af83 to your computer and use it in GitHub Desktop.
Save ciniml/9dfe4add8b8368076adcf7460226af83 to your computer and use it in GitHub Desktop.
Fixed dfu_upload.bat for users whose Windows user name contains some blanks
@echo off
echo DFU begin
"%~dp0/dfu-util-0.8-mingw32/dfu-util.exe" -d %2 -a %1 -D "%3" -s %4 -R
echo DFU end
@ciniml
Copy link
Author

ciniml commented Nov 3, 2017

The target file is "%LOCALAPPDATA%\arduino15\packages\Seeeduino\tools\stm32_dfu_upload_tool\1.0.0\win"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment