11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

access="ReadOnly" >The filename attribute is an absolute filename which is macro expanded using<strong>CrossWorks</strong> system macros. An imported memory map file must be an XML file(without a DOCTYPE). The Processor element can be used to group severalMemorySegment elements <strong>for</strong> this purpose.Section Placement file <strong>for</strong>matCrossStudio section placment files are structured using XML syntax to enable simpleconstruction and parsing.The first entry of the project file defines the XML document type which is used tovalidate the file <strong>for</strong>mat.The next entry is the Root element; there can only be one Root element in a memorymap file.A Root element has a name attribute - every element in a section placement file has aname attribute. Names should be unique within a hierarchy level. Within a Rootelement there are MemorySegment elements. These correspond to memory regionsthat are defined in a memory map file that will be used in conjunction with the sectionplacement file when linking a program.A MemorySegment contains ProgramSection elements which represent programsections created by the C/C++ compiler and assembler. The order of ProgramSectionelements within a MemorySegment element represents the order in which the sectionswill be placed when linking a program. The first ProgramSection will be placed firstand the last ProgramSection will be placed last.Chapter 35Section Placement file <strong>for</strong>mat339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!