Is there an option in cl470.exe compiler to generate stack usage and function call information ? If yes how to use that ? Can some one send some info regarding this ?
The code generation tools come with a Stack Depth Profiler. If I get your question right, then this may be able to help you. This tool (sdp470.exe) can be found in your CCS installation directory.
For CCSv4 users the default installation location for the compiler tools is: \Program Files\Texas Instruments\ccsv4\tools\compiler\tms470\bin
TMS470 & TMS570 are closely related product lines and the TMS570
line uses some of the same tool set as the TMS470 line.
More information on the profiler and compiler tools can be found in the C/C++ Compiler user's guide here: http://www.ti.com/lit/pdf/spnu151
If a post answers your question, please mark it with the "verify answer" button.
thanks for that info. the compiler manual which I have [TMS470R1x Optimizing C/C++ Compiler4.4 Beta] did not have that information. But the one which you send, had the -b option. That worked. BTW, is there any way I can redirect the o/p of the generated .aux files to a specific directory ...??
You are welcome.
I didn't find a way to specify the path though.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.