Keil Logo

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

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.