Setting up stack memory
In this section:
The size of the CSTACK block is defined in the linker configuration file. To change the allocated amount of memory,set the symbol _STACK_SIZE to the required value
define block CSTACK with alignment = 2, size = _STACK_SIZE
{ rw section CSTACK };Specify an appropriate size for your application.
For more information about the stack, see Stack considerations.