Intel: Is there a tool for estimating the stack size of a Nios® II program?

Nios II

Category: Nios® II
Tool: Nios® II SBT
device:-


No tool is provided to estimate the stack size.

If you build the project with Nios® II SBT, you can easily check the upper limit of the memory size that can be used for the heap and stack.

(example)
Info: (test.elf) 32 KBytes program size (code + initialized data).
Info: 159 KBytes free for stack + heap.
Info: Creating test.objdump
nios2-elf-objdump --disassemble --syms --all-header --source test.elf >test.objdump
[test build complete]


Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.