Keil™, An ARM® Company

Technical Support

L166: CHANGING STACKS FOR CUSTOM RTOS

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

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure