Other Parts Discussed in Thread: SPRC141, CCSTUDIO
I have a project in CCS 3.3 for TMS320F2407 where code space is critical and for my "Release" target I therefore need to enable program-mode optimization (option -pm). Everything works as it should until I add at least one out of a group of assembly source files from the sprc141 flash programming API. As soon as I do that, the compiler throws an error message that makes no sense:
>> Cannot open source file '"_first_file_in_list.c"'
The source file is clearly there even though I understand that everything is copied together into a temporary file for program mode compilation. As soon as I do as much as excluding the assembly file from compilation, everything runs through fine. In my debug configuration with optimization turned off everything builds fine as well. There are other assembly files in the project that don't cause this effect. Here is what I have tried so far among other things, all to no avail:
- disabling optimization for the assembly file in question, thereby forcing it to be excluded from the program mode (I think)
- moving the assembly file into the same directory as the project file, or the directory of the other sources
- moving its include files into the same directory as the project file, or the directory of the other sources
I am at my wits end and would appreciate any hints on what else I could try. Here is the link to the flash API. I have changed nothing in the sources:
http://focus.ti.com/docs/toolsw/folders/print/sprc141.html
Chris