Hi,
Sometimes, you are going to produce a bunch of boards paired with a suitable motor that works best with a motorconfig that is currently not the default.
Then you might want to skip configuring the VESC through VESC tool for each produced board: Just flash the required binary and have the default config work out of the box.
To do this you can put all the defines on the make commandline or something like that. The easier way to do it is to just configure the first one, and then convert the XML to something that can be compiled into the binary. I have written a script that does just that. With a very small patch to the source code that would allow anybody to save his motor config as the default in a firmware build.
Does anybody else need this? I've been given permission to publish the code. (if there is interest). Benjamin?
That sounds like a good idea, I may also need this for a project I am working on. (I was just going to get the pcb fab to program the boards as part of functional testing with a supplied xml config)