##### Syntax

-T section ,...=start[- end]

##### Description

This option sets the way that sections are aggregated and laid out in memory. The start and end addresses are inclusive and define the memory segment into which sections in the list are placed. Sections are allocated in the order that they are specified in the list.

##### Setting this in CrossStudio

Section layout is configured using the XML-format memory map file. To set the memory map file for a project:

- Select the project in the Project Explorer.
- In the Linker Options group set the Memory Map File to the location of the appropriate memory map file.

##### Example

To aggregate and place the CODE and CONST sections into the memory segment 0x1000 through 0xffff (inclusive) with CODE placed before CONST, to agregate the IDATA0 and UDATA0 sections into the memory segment 0x200 through 0xaff placing IDATA0 before UDATA0:

    -TCODE,CONST=0x1000-0xffff -TIDATA0,UDATA0=0x200-0xaff