Other Parts Discussed in Thread: CONTROLSUITE
When I import the Blinky project from controlSUITE, the file links are broken. Any attempt to build results in several "No rules for " errors.
I am attempting to run my first simple example program on my new controlCard F28m35H52C1. I import the blinky project from C:\TI\controlSUITE\device_support\f28m35x\v110\F28M35x_examples_Control. I am using CCS 5.1 installed in C:\TI\ccs5.
I import the project but do not copy it to the workspace. The immediate problem is that none of the file links are correct -- if I double click on any of the source files, it just displays an error. I solved this problem by following a suggestion found elsewhere in this forum. In the macro.ini file I found these two lines:
INSTALLROOT_F28M35X_V110 = ../../../../
INSTALLROOT_FPU_FASTRTS_V100 = ../../../../../../../libs/math/FPUfastRTS/V100
In CCS, I go to Window|Preferences|General|Workspace|Linked Resources. I understand that these two entries in macro.ini should have been inserted into Linked Resources during the import, but I found the page blank. So I added the two manually. This restored the links to the source files (I forget if I needed to restart CCS or reload the project).
The next problem was the include files. Under Includes in the Project Explorer, the include paths were abreviated and showed no files when you click the little error by each line. I solved this problem by right clicking the project, selecting Build Options|Build|C2000 Compiler|Include Options. Here I edited each of the include paths, changing the variable name in the ${} syntax to a hardcoded path in each instance. This seemed to satisfy the includes.
However, there are still problems. The generated make file has an abbreviated path where it is looking for "F28M35x_generic_C28_FLASH.cmd" Since this make file is generated, it does no good to edit it to hard code the path. If I knew how it is generated, I could change the path. Can someone help with that?
But it seems like I am going to a lot of work to fix a single underlying problem. Why are the paths messed up? I have un-installed and re-installed controlSUITE, but it did not change anything. Moving the project into the workspace during Import does not help. The problem exists for all sample projects.