Hello,
i've problem with ccs headless build. Namely i can't find correct way to pass preprocessor arguments to build command.
I'm using ccs 10.1.1.
What i've done for now is:
first i do import with below command:
C:\ti\ccs1011\ccs\eclipse\eclipsec -noSplash -data "/workspaceTEST" -application com.ti.ccstudio.apps.projectImport -ccs.copyIntoWorkspace "true" -ccs.location "C:\Users\User\some_dir\test_project" -ClearPersistedState
then i do build with command like this:
C:\ti\ccs1011\ccs\eclipse\eclipsec -noSplash -data "/workspaceTEST" -application com.ti.ccstudio.apps.projectBuild -ccs.workspace -DBUILD=1 -DARG0=0 -DARG1=1
But during build i get compiler erros, that tells me BUILD, ARG0 and ARG1 are undefined. I'm not sure if this is proper way to pass preprocessor defines, but it works for me with STM32CubeIDE which is also build on eclipse.
I couldn't also find any option that could allow me to pass arguments - here: https ://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html
Regards,
mf