Part Number: TMS320C6670
Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
I'm building our projects via command line. To do that, I import them into a temporary workspace, and then build them.
When using CCS v6.1.2 command line tools, the import worked fine, but the build would not build the configuration I was asking for (Debug/Release) reliably. So I decided to try the latest CCS. Using CCS v7.0.0, it now builds the projects with the correct configuration. However, when trying to import one particular project, I am getting an AssertFailedException.
The command line to import:
C:\ti\ccsv7\eclipse\eclipsec.exe -noSplash -application com.ti.ccstudio.apps.projectImport -data "./spm34cp_workspace" -ccs.location "./Common/packages/ti/transport/ndk/nimu"
The exception thrown (just the first few lines of it..it's long):
org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) at com.ti.common.project.core.OutputType.createReference(OutputType.java:109) at com.ti.common.project.core.OutputTypeReference.fromString(OutputTypeReference.java:140) at com.ti.common.project.core.internal.settings.AConfigurationSettings.getOutputType(AConfigurationSettings.java:216) at com.ti.ccstudio.project.core.internal.settings.CCSConfigurationSettings.getOutputType(CCSConfigurationSettings.java:105) at com.ti.common.project.core.util.CTIProjectCoreUtils.getOutputType(CTIProjectCoreUtils.java:1225) at org.eclipse.rtsc.xdctools.buildDefinitions.XDC.util.XDCManagedBuildCoreUtils.isRTSCConfigurationProject(XDCManagedBuildCoreUtils.java:88) at org.eclipse.rtsc.xdctools.buildDefinitions.XDC.util.XDCManagedBuildCoreUtils.findReferencedRTSCConfiguration(XDCManagedBuildCoreUtils.java:145) at org.eclipse.rtsc.builddefinitions.xdc.settings.XDCConfigurationSettingsContributor.getInheritedProductsSource(XDCConfigurationSettingsContributor.java:89)
As I see XDC mentioned in the exception, I will say that I am using XDC 3_32_01_22_core. As a test, I went back to CCS v6 for the import, and it works fine. So, at this point, I am going to try and import with CCS v6 and build with CCS v7, but I'd rather not have to do that.