Tool/software:
we've come a long way from before CCS 3.3. Now we want to migrate from CCS 10/12 to CCS 20.
We used some specialities of eclipse projects to get our workflow done.
In this particular case: we use linked resources to include the complete sourcecode into the ccs project.
The drawback in CCS20: Files cannot be opened via "CTRL+P", which is a mayor flaw.
The reason is, we have several eclipse based IDEs that operate on the same sourcecode, e.g. CCS, ARM DS-5, Altera/Intel NIOS EDS, Infineon DAVE et.al.
Therefore the project root canntot be the root of the sourcecode.
Consider this layout
dir/conf/ccs_project
dir/conf/armds5_project
dir/conf/dave_project
dir/src/
ccs_project is where the project lives. "dir/src" is embeded as external source.
To reprouce in CCS20:
- Open Project Properties (ALT-ENTER) and go to "General->Valiables"
- Hit + to add a variable
- Name SRC_LOC
- Type Path
- Value ${PROJECT_LOC}/../../src
- Open "Add Files/Folders..." from the context menu of the Project folder in Explorer->Workspace and hit "+" on the next dialog
- Choose "Select fodlers to link"
- Choose "SRC_LOC" from the dropdown below
- Add "SRC_LOC" or similar to "Name"
- Hit "ctrl+p" an type the name of a file that is in "dir/src/" and notice that nothing will shop up.
It would be nice to get this fixed in the next version of CCS.
If there's a new better way of managing several eclipse/CCS theia based projects for one source tree i'm happy to hear!