5.1.6.1 Attributes that Represent Section Types [DD]
Attributes that represent section types are mutually exclusive. At most, one of the attributes listed below may be specified for a given section.
Attribute | Description | Support* |
---|---|---|
auxflash | Executable code in auxiliary program memory. | 33EP (some) |
auxpsv | Constant is in auxilliary program memory. | 33EP (some) |
bss | Uninitialized storage in data memory. | All |
code | Executable code in program memory. | All |
data | Initialized storage in data memory. | All |
eedata | Non-volatile storage in data EEPROM. | 30FxxK |
heap | Memory for dynamic allocation in C. | All |
memory | External or user-defined memory. | All |
packedflash | Use the upper byte of Flash via packed storage. | All |
persist | Persistent storage in data memory. | All |
psv | Constants in program memory. | 33C/E/F, 30X |
stack | Processor stack. | All |
* All = all devices ; 30X = dsPIC30X, where X defines the specific device; 33X = dsPIC33X, where X defines the specific device. |