AnsweredAssumed Answered

MQX IAR Linker File does not have cstack

Question asked by John Elson on Jul 20, 2015
Latest reply on Jul 21, 2015 by soledad

I am using the IAR Workbench linker configuration files (.icf) provided with MQX and everything is working fine. I am able to run all of the examples and our custom firmware runs great. I am just curious as to how the examples run when the linker files do not have CSTACK. For example, the intflash_ddrdata.icf file provided by MQX has the following in it:

 

/*-Sizes-*/

define symbol __ICFEDIT_size_cstack__   = 0;

define symbol __ICFEDIT_size_heap__     = 0;

/**** End of ICF editor section. ###ICF###*/

 

...

define exported symbol __BOOT_STACK_ADDRESS = 0x2000FFF0 - 0x100;

 

Don't we need a stack before the RTOS is called? Is this created by the BSP somewhere? Is that what __BOOT_STACK_ADDRESS is for?

Outcomes