Static code metrics report not created for ezdspF28335 project
1 view (last 30 days)
Show older comments
I am working with the ezdspF28335 development board and embedded coder with version R2013a. The project uses Code Composer 5.5 with the 'generate makefile' configuration. When I build the model the code is generated and built with the target tools. It downloads using CCS and runs fine on the target board. If I ask for a code generation report to be produced this also works fine apart from the static code metrics part of the report. Here I see the following error messages and the report cannot be viewed. If there was a genuine code error then presumably the code would not build at all. I do not see any messages at all from the code build action so either they are not being displayed or there aren't any messages to display (I suspect the latter).
If the code compiles and runs without error then why does the code metrics report seem to think there are errors? Is there a fix or workaround for this problem that would allow the code metrics report to be produced?
Thanks.
Static Code Metrics Report
Error Report
Static code metrics report was not successfully generated because of the following errors.
File Line Description C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_Device.h 36 expected a ";" C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_Device.h 37 expected a ";" C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 28 expected a ";" C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 37 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 38 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 39 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 40 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 41 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 42 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 43 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 44 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 45 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 46 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 47 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 48 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 49 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 52 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 53 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 54 identifier "PINT" is undefined C:\Program Files\MATLAB\R2013a\toolbox\idelink\extensions\ticcs\inc\DSP2833x_PieVect.h 55 identifier "PINT" is undefined
0 Comments
Answers (1)
Anusha B
on 17 Mar 2015
Hi Mike,
The static code metrics tool accepts many dialects of C/C++ (gnu, msvc, upc). However, the TI keywords are not recognized by it. Hence the error occurs.
Hope this helps.
3 Comments
Sam
on 10 Mar 2022
It would be very nice if MATLAB could fix this issue. I encounter the same error message for the TI C2000, 28379D. C:\ti\controlSUITE\device_support\F2837xD\v190\F2837xD_headers\include\F2837xD_pievect.h
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!