10.2.3.2 Allocation of Data-attributed Sections

The data section attribute specifies that a section should be allocated as initialized storage in data memory, as defined by regions kseg0_data_mem and kseg1_data_mem in the linker script for PIC32M devices. The following attributes may be used in conjunction with data and will further specify the allocation:

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