Part Number: CC3200MODLAUNCHXL
Tool/software: Linux
Hello,
I'm using the gcc compiler for linux, openOCD for emulation and UniFlash for Flash file loading.
My code is getting too big and the linker says: section `.heap' will not fit in region `SRAM'
For a while I worked around this issue by allocating less heap size: from 64kB to 32kB.
Before continue coding I need to know the max allowable size of mcuimage.
I haven't found where to set the allocated stack size in RAM.
My questions are:
0- How and where do I handle the stack?
1- Are the static variables allocated at run time in the stack or are they allocated in the data section?
2- Does the linker dynamically allocate space for stack in RAM or should I need to specify it somewhere?
3- How can I generate the RAM .map file while compiling?
4- Where can I find more information about the SRAM management?
Thanks,
Rosario