I want to add one more task to my ZigBee End Device (CC2630) as following:
Task_Params_init(&wzTaskParams);
wzTaskParams.stack = wzTaskStack;
wzTaskParams.stackSize = WZ_TASK_STACK_SIZE;
wzTaskParams.priority = 2;
Task_construct(&wzTask, wzTaskFxn, &wzTaskParams, NULL);
There are 2 problems:
1) Link error happens when the WZ_TASK_STACK_SIZE >= 450, error message:
Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x65c bytes (max align 0x8) in
<[0x200000c8-0x200040e3]> (total uncommitted space 0x650).
Uncommitted:
[0x200000c8-0x200000ff]: 0x4
[0x20000200-0x200040e3]: 0x654
2) Burn to the CC2630 device, it does not work?
I compiling source code with WZ_TASK_STACK_SIZE < 450, it can be compiled.
But the compiled code does not work on CC2630 device?
How to fix these problems?
Thanks for any suggestions!