"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\tmp\wsp" -build frdmk64f_rtos_examples_freertos_event
I used the command above in different ways but could not come up with working solution.
<path_to_mcuXpresso>\mcuxpressoide.exe -application com.nxp.mcuxpresso.headless.application -nosplash -noExit -data "<path_to_my_project> -build <project_name>
Can someone provide an advice or solution to this problem?
PS. I know I could use makefile and execute build using make, but for now I would like to stick to the current method if possible.
已解决! 转到解答。
Using "org.eclipse.cdt.managedbuilder.core.headlessbuild" is the right approach in your case. I've just verified the existence of "org.eclipse.cdt.managedbuilder.core.headlessbuild" plugin in MCUXpresso IDE v11.8.1 and I confirm it's there. Perhaps you're not using "mcuxpressoidec.exe"?
Details about Eclipse's command line parameters can be found at [1] whereas CDT's command line parameters can be found at [2] (could not easily find the official documentation).
I think you'd also be interested about [3].
Regards,
Adrian
[3] https://community.nxp.com/t5/MCUXpresso-IDE/Mcuxpressoide-JVM-terminated-Exit-code-1/m-p/1783768
Using "org.eclipse.cdt.managedbuilder.core.headlessbuild" is the right approach in your case. I've just verified the existence of "org.eclipse.cdt.managedbuilder.core.headlessbuild" plugin in MCUXpresso IDE v11.8.1 and I confirm it's there. Perhaps you're not using "mcuxpressoidec.exe"?
Details about Eclipse's command line parameters can be found at [1] whereas CDT's command line parameters can be found at [2] (could not easily find the official documentation).
I think you'd also be interested about [3].
Regards,
Adrian
[3] https://community.nxp.com/t5/MCUXpresso-IDE/Mcuxpressoide-JVM-terminated-Exit-code-1/m-p/1783768
Hi @AdrianOltean,
Thank you for that: Perhaps you're not using "mcuxpressoidec.exe"
It turned out that I was using the other .exe file. I was completely unaware of the existence of mcuxpressoidec.exe. It was mentioned in the documentation, but I simply overlooked that letter 'c' at the end of the name.
What I also noticed, is the fact that I needed to specify workspace path to the - data parameter, as the project source code location did not work.
All in all, this is what worked for me:
mcuxpressoidec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "%WORKSPACE_LOC%" -build %PROJECT_NAME%/Debug
After that, I got the build up and running.
Thanks for the help!