Question
CubeMx 4.17 does not handle -q or -s switch
Posted on November 28, 2016 at 15:38
Hi,
I recently discovered in UM1718 that CubeMX can work with a command line. That's a cool feature for continuous integration. But it seems that the command line switch are not handled. If I use -s or -q followed by a script name, I get something like this: systemId: file:/D:/Dev/Pic/Msa/devices/diamond%20ST/scripts/cubeMxGenerate.txt; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. command:java -jar ''C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'' –q scripts\cubeMxGenerate.txt
error:
systemId: file:/D:/Dev/...T/scripts/cubeMxGenerate.txt; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
if instead I call:
java -jar ''C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'' –q conf.ioc
It works but does not run a script....
Does the syntax has changed or is it a bug?
Thanks
Julien
#cubemx-script