Other Parts Discussed in Thread: SYSBIOS, STRIKE
Tool/software: Code Composer Studio
Hi all,
Here's what's (hopefully) an issue that's easy to resolve. After a longer hiatus I've been tasked to modify some functionality in a project that hasn't been modified for about a year. I've previously run CCS and successfully built the project on my PC, after which the project was placed in a git repository (containing all directories/files, which may be a root cause of the issue? Is there some suggestion/guide as to which files to include in a git repo?) but when attempting today the linker fails and generates a long list of undefined symbols, the start of which is
--------------------------------------------------
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_ADC_disable ./board/board_init.obj
_ADC_disableInt ./board/board_init.obj
_ADC_disableVoltRefLoConv ./board/board_init.obj
_ADC_enable ./board/board_init.obj
<list continues>
--------------------------------------------------
I haven't (to my knowledge) made any changes to the project, other than cloning the git repository to a different location on disc. That said, I've gone through the path variables defined in the project and they're all defined in a relative sense and I know I've successfully moved the project around in the past.
The linker command contains something like
--------------------------------------------------
<path to home>/ti/c2000cgt_6_2_11/bin/cl2000" -v28 -ml -mt -O4 <snip> "./board/F2806x_headers/source/F2806x_CpuTimers.obj" "./board/F2806x_headers/source/F2806x_GlobalVariableDefs.obj" <snip> "../board/F2806x_headers/cmd/F2806x_Headers_nonBIOS.cmd" "../f28069_ram_lnk.cmd" -llibc.a -lrts2800_ml.lib
--------------------------------------------------
So to my knowledge all the undefined symbols should be resolvable?
Furthermore, CCS occasoinally emits error messages along the lines of:
--------------------------------------------------
Could not write metadata for '/RemoteSystemsTempFiles'.
<path to project>/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap (No such file or directory)
--------------------------------------------------
However, I've verified that the entire directory is owned by my user so I don't know why CCS is unable to write to the directory.
I don't really know what else to do to resolve this issue other than creating a completely new project, which I'd like to avoid, as I'd have to somehow migrate all the project settings =(