2.10 Placing the stack and heap

The scatter-loading mechanism provides a method for specifying the placement of the stack and heap in your image.

The application stack and heap are set up during C library initialization. You can tailor stack and heap placement by using the specially named ARM_LIB_HEAP, ARM_LIB_STACK, or ARM_LIB_STACKHEAP execution regions. Alternatively you can re-implement the __user_setup_stackheap() function if you are not using a scatter file.
Related concepts
2.11 Run-time memory models
Related information
Tailoring the C library to a new execution environment
Specifying stack and heap using the scatter file
Non-ConfidentialPDF file icon PDF versionARM DUI0471K
Copyright © 2010-2014 ARM. All rights reserved.