Keil Logo

SECSIZE Linker Directive

Abbreviation

SS

Arguments

SECSIZE (sectionname<[>%classname<]> (size))

µVision

Options — L166 Misc — Misc Controls.

Description

The SECSIZE directive allows you to specify size of the memory space that a section uses. For BIT sections the size may be specified in bits with the dot ('.') operator.

The sectionname and classname specify the section to modify.

The size specifies the change in the section size. You may specify this value as follows:

Size Description
+number Adds number bytes to the size of the section.
-number Subtracts number bytes to the size of the section.
number Sets the section size to number.
Example
L166 file1.obj SECSIZE (?C_USERSTACK%NDATA (+ 200H))

This example enlarges the size of ?C_USERSTACK in NDATA by 200h bytes.

  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.