Closed rpbaltazar closed 6 years ago
I dont think its possible to do in a general way. We could possibly support a known subset of options, like specifying the device, but supporting arbitrary command line arguments is not possible, because make would try to parse them. So it would have to be implemented differently for each type of flashing command that we support.
Make doesn't even support variables containing strings with spaces from within makefiles, so thats not an option either.
I believe that better handling was added to this, but I'm not sure.
However, for now, I'm closing this. If it's still an issue, please reopen.
Recently trying to flash my ergodox infinity, I ran into a problem with this step:
sudo make infinity-keymapname-dfu-util
from the instructionsThis was caused by dfu-util finding multiple devices and not knowing which one to install to. I've walked around the problem by installing it manually as described here
It would be a nice to have a way to pass these arguments to the makefile.