Part Number: LAUNCHXL-CC1352R1
Tool/software: Code Composer Studio
Hi!
Environment:
CC1352R1 HW Rev. B.
CCS 10
SDK 4.20.00.35
Problem:
I'm trying to figure out what is STACKSIZE (in .lds file) for.
In my project I use lots of global variables and temporary variables on Task stack. When I display size with arm-none-eabi-size.exe console show me sum of all these variables: global + tasks + STACKSIZE, but I don't understand when STACKSIZE memory is used.
Strange thing is that to make my project work I have to set STACKSIZE to value minimum 30k bytes (!), project will fail on GPIO_init() otherwise (beginning of my project, before is just Board_init()). My global variables use something like ~30kb + 4kb for all tasks stacks, so I'm almost out of memory on my board.
Probably in ROV is some way to check memory usage that I'm missing, or maybe is other way to see what is using this memory? Also if you have any advice what can I do to decrease required STACKSIZE it will be really helpful.
Robert.