External stack used by default

Technical Note 98758



11/2/2015 1:09 PM


For certain combinations of AVR processor variants and memory models, the .xcl file examples by default use external memory for the stack, by having the following line active:


This means that calls to "?C_STARTUP" are redirected to "?RSTACK_IN_EXTERNAL_RAM" which is an alternative entry point in cstartup. The effect is that an SFR is set to use certain ports as external address and data bus.


External RAM is initialized in low_level_init. The activation of this line in the .xcl file is only required if RSTACK is placed in the external RAM.


All product names are trademarks or registered trademarks of their respective owners.

Related Tech Notes

© IAR Systems 1995-2021 - All rights reserved.

We use cookies on this website to provide you with a better experience. You need to accept cookies to continue using this site. Cookies