Syntax

-Tsection,...=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 segments into which sections in the list are placed. Sections are allocated in the order that they are specified in the list.

Project property

Section layout is configured using the XML-format memory map file so this option cannot be set directly in the CrossStudio IDE.

Example

To aggregate and place the CODE and CONST sections into the memory segment 0x1000 through 0xffef inclusive and 0x10000 through 0xfffff inclusive and with CONST placed before CODE:

-TCONST,CODE=0x1000-0xffef+0x10000-0xfffff

To aggregate the IDATA0 and UDATA0 sections into the memory segment 0x200 through 0xaff placing IDATA0 before UDATA0:

-TIDATA0,UDATA0=0x200-0xaff