timvideos / HDMI2USB-mode-switch

Tool for switching boards supported by HDMI2USB firmware between multiple different modes (programming, webcam, etc).
Apache License 2.0
10 stars 13 forks source link

Flashing fails if path to firmware binary has a space in it #112

Open puck opened 4 years ago

puck commented 4 years ago

If the path has a space in it, then get a stack trace with OpenOCD is run and ultimately the error is:

OpenOCD returns 1: wrong # args: should be "jtagspi_program bin addr"

It'd be good if the filename is quoted. ;)