This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652P: How do I modify the stack size

Part Number: CC2652P

Hi,TI team

I define a local array of 255 bytes.The function is defined as follows:

When I compile, the compiler outputs an error,The error message is shown below:

error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment fails for section ".text" size 0x823c.  Available memory ranges: size: 0x7e8c       unused: 0x79a0       max hole: 0x79a0  

I guess the stack is too small. The default stack size is as follows:

I changed the stack size to 4096, but the error is still there

How should I modify it?

Thanks!