Setting up stack memory
In this section:
The sizes of the stack blocks USTACK and ISTACK are defined in the linker configuration file. To change the allocated amount of memory, change the block definition like this:
define block USTACK with size = 0x2000, alignment = 4{ };Specify an appropriate size for your application.
Note
To make it possible to change the stack sizes from the IDE, use the symbols _ISTACK_SIZE and _USTACK_SIZE instead of the actual size, like this:
define block USTACK with size = _USTACK_SIZE, alignment = 4 { };For more information about stack memory, see Stack considerations.