2.4.6. Placing the stack and heap

Scatter-loading provides a method for specifying the placement of code and statically allocated data in your image. The application stack and heap are set up during C library initialization. You can tailor stack and heap placement by re-implementing the __user_initial_stackheap() function. Alternatively you can use the specially named ARM_LIB_HEAP and ARM_LIB_STACK execution regions. See Specifying stack and heap using the scatter-loading description file in the Linker and Utilities Guide for more information.

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0203H
Non-Confidential