Keil™, An ARM® Company

C166 User's Guide

DYNAMICUSRSTK Compiler Directive

Abbreviation DU
Arguments None.
Default The user stack resides in the NDATA memory class.
µVision Options — C166 — Misc Controls.
Description 

The DYNAMICUSRSTK directive informs the C166 Compiler that your program modifies the user stack area. This directive is useful for developers who create real-time operating systems that change the user stack area.

This directive makes it possible to have a 16K user stack for each task. Without this directive, the entire user stack must reside in the NDATA memory class which is limited to a maximum of 64K.

Example 
#pragma dynamicusrstk

Related Knowledgebase Articles