ARM Technical Support Knowledge Articles

CHANGING STACKS FOR CUSTOM RTOS

Applies to: L166 Linker/Locator

Answer

QUESTION

I'm writing my own RTOS for the C167 and I want to swap user stacks (to a new 16K stack) for each task. However, the compiler generates pointers that are references based on the NEAR data area (in HUGE memory model). How can I force the compiler and linker to reference the pointers to DPP2 for the stack?

ANSWER

Read the RELEASE.TXT information in the C166 directory of your installation and make sure to note the DYNAMICUSRSTK linker option.

MORE INFORMATION

Article last edited on: 2005-07-15 15:40:28

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential