Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Stack Running a Program on the Target Compiling and Linking with On Time RTOS-32 |
StackEvery program needs a stack. Locate parameter Name is ignored. Access must be ReadWrite if specified. If parameter Size is not specified or zero, RTLoc will assign all unused memory of the region to the stack after all other entities have been located. Please note that if the stack and heap are located in the same region, at least one of the two must specify a size. If the stack is mapped to a virtual region and command FillRAM is specified for the same region, the specification of a physical region can be omitted. In this way, the stack can span several disjoint areas of physical memory. Examples:Region LowMem 4k 636k RAM Region HighMem 1M 1M RAM Virtual VMem 2M FillRAM VMem Locate Stack S VMem // all unused RAM Locate Stack S VMem->LowMem // all unused LowMem Locate Stack S LowMem // ditto Locate Stack S VMem 16k // 16k of any RAM Locate Stack S VMem->HighMem 16k // 16k of HighMem
|