10.2.3.4 Allocation of Persist-attributed Sections

The persist section attribute specifies that a section should be allocated as persistent storage in data memory, as defined by region kseg0_data_mem and kseg1_data_mem in the linker script for PIC32M devices. Persistent storage is not cleared or initialized by the C run-time library. The following attributes may be used in conjunction with persist and will further specify the allocation:

  • address() specifies an absolute address
  • .align specifies alignment of the section starting address