Is Hardware-in-the-Loop (HIL) optimization supported when using the Link for Code Composer Studio 1.3.1 (R14) with the TI C6x or C54x DSK?

1 view (last 30 days)
When I compile using the Link for Code Composer Studio, I receive an error similar to one of the following:
Warning: Not enough information is available to locate and extract the function declaration. Use DECLARE to supply function declaration.
Warning: The C declaration of the function 'setstruct' cannot be located. Use DECLARE to supply this information.
Warning: A problem occurred while parsing the function declaration:
'struct funstruct setstruct(int a, char b, double c)'
Error is: GetDatatype: Line position not found.funstruct' cannot be defined.
Use DECLARE to enter the correct function declaration string.
??? Error using ==> function/write/CheckInputvarIfValid
'a' is not an input argument to 'setstruct'.
or
Warning: A problem occurred while parsing the function declaration:
'struct funstruct setstruct(int a, char b, double c)'
Error is: GetDatatype: Line position not found.funstruct' cannot be
defined.
Use DECLARE to enter the correct function declaration string.
??? Error using ==> function/write/CheckInputvarIfValid
'a' is not an input argument to 'setstruct'.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
Link for Code Composer Studio 1.3.1 (R14) does not support the following options for HIL compiling:
For the TI C6x DSK:
"DWARF Debug Info."
For options of "opt. speed vs. size":
1- "Speed more critical"
2- "Speed critical"
3- "size critical"
4- "size most critical"
Instead, it only supports the default "speed most critical" for HIL compiling.
For the TI C54x DSK:
"No Debug"
"DWARF Debug Info"
Any optimization options other than "none." "none" is the only supported optimization.

More Answers (0)

Categories

Find more on System Composer in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!