11.3.3.6 memory

The memory attribute specifies that a section should be allocated in external or user-defined memory. The following attributes may be used in conjunction with memory and will further specify the allocation:

  • address() specifies an absolute address
  • align() specifies alignment of the section starting address
  • reverse() specifies alignment of the section ending address + 1
  • noload specifies that the section should not be loaded with the primary application
    Note: Sections allocated in external or user-defined memory cannot be accessed by the PSV window or the EDS window.

eedata – dsPIC30F DSCs only [DD]

The eedata attribute specifies that a section should be allocated in data EEPROM memory, as defined by region eedata in the linker script. The following attributes may be used in conjunction with eedata and will further specify the allocation:

  • address() specifies an absolute address
  • align() specifies alignment of the section starting address
  • reverse() specifies alignment of the section ending address + 1
  • boot specifies the boot segment
  • secure specifies the secure segment