How to check Heap & Stack overflow?
In CCS version 6.1.2.00015, is it able to see whether the heap and the stack is overflow or not?
when choosing project properties-> CCS Build-> ARM Linker -> Basic Options,
there are places for user to set the heap size and stack size.
I test it by changing them to a larger values or smaller values and then try compile my test program.
But nothing seems to be changed in the Memory Allocation (In CCS, Under Windows-> Show View -> Memory Allocation).
How to Set Maximum Code Size
Is that the maximum code & data memory is 256kB - bottom 16kB = 240kB?
As default from sample program opened from SDK 1.2.0, the heap size & stack size are:
Heap size = 0x8000; i.e. 32kB
Stack size = 0x800; i.e. 2kB
With these heap size & stack size, how to set the maximum code size for my program?
Can i set something like Code = 146KB & Data = 60kB,
such that Code + Data + Heap + Stack = 240kB?
Is it some like to config in the file cc3200v1p32.cmd :
SRAM_CODE (RWX) : origin = 0x20004000, length = 0x24800
SRAM_DATA (RWX) : origin = 0x20028800, length = 0x0F000