Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: How to fill the .stack section with a known value in linker command file

$
0
0

Hi


I want to know the amout of stack required in my program.Just as the page http://processors.wiki.ti.com/index.php/Stack_and_Heap_size_requirements said:

The general recommendation to determine amout of stack required is to fill the stack with a known value (can be done in linker command file by filling the .stack section), let the program run and see how much of the stack was altered by viewing it in a memory window. This should tell how much stack was used and accordingly, the stack size can be reduced or increased as needed.


But I dont know how to fill the .stack section。Can anyone help me?

 An example or a guide picture will be much better.

Thanks.

Chunhai



Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>