Tool/software: Code Composer Studio
Hello All,
I am using the ble_multi_role project for devleopment of my custom project, and I wanted to adjust the stack size.
Within the code I saw a stack size setting for the multi_role Task as " #define MR_TASK_STACK_SIZE 1024"
Also there is a stack size setting under Project->Properties->Linker->Basic Options-> Set C System Stack Size; which has been set to 256.
I am a bit confused. What is the difference between the two of them ? Also if I wanted to increase the stack size, which one should I be actually changing ? I understand that the tasks use their own stacks and share the heap. If so then is it that the stack size setting at the Linker-> Basic Options does not have any significance in this code ?
Also where do you set the heap memory for the tasks ? I see the setting at Project->Properties->Linker->Basice Options as 0. But in the ble_release.cfg file it is set to "var HEAPMGR_SIZE = 30000; " So is the heap size setting by default 30000 ?
Regards,
Shyam