Keil Logo

RESERVE Linker Directive

Abbreviation

RE

Arguments

RESERVE (range 〚, ...〛)

Default

No memory areas are reserved.

µVision

Options — L166 Misc — Reserve.

Description

The RESERVE directive reserves specified memory areas (range) and prevents the linker from locating anything in them. This directive may be used to skip over memory areas that are unavailable or that are used for special purposes (memory buffer, FIFO, and so on).

A warning message is generated if an absolute section uses a reserved memory area.

See Also

CLASSES, SECTIONS

Example
L166 file1.obj RESERVE (4h-200h)

This example reserves memory from 0004h to 0200h.


L166 file2.obj RESERVE (0x200-0x3FFF, 0x10000-0x1FFFF)

This example reserves 0200h-3FFFh and 10000h-1FFFFh.

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.