<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linker command file problem - MPC5644A in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Linker-command-file-problem-MPC5644A/m-p/634571#M6038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stan,&lt;/P&gt;&lt;P&gt;Thank you for your answer!&lt;BR /&gt;As you suggested I changed the pragma in the c source from:&lt;BR /&gt;#pragma section code_type ".ivor_branch_table_p0"&lt;BR /&gt;to&lt;BR /&gt;#pragma code_type ".ivor_branch_table_p0"&lt;BR /&gt;(So I removed the “section” expression), and now it doesn’t throw that error. &lt;BR /&gt;Although, I don’t understand why…&lt;BR /&gt;If you create a new Bare-board project with CW, it generates the .lcf file and the ivor_branch_table.c file. In the c file the pragma contains the “section” expression too and of course it works that way. So what’s the point of “section”? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I build VLE code and I'd like to extend the lcf file later.&lt;/P&gt;&lt;P&gt;János&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2017 16:42:44 GMT</pubDate>
    <dc:creator>janos_murai</dc:creator>
    <dc:date>2017-01-20T16:42:44Z</dc:date>
    <item>
      <title>Linker command file problem - MPC5644A</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Linker-command-file-problem-MPC5644A/m-p/634569#M6036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to create an MQX test application on an MPC5644A MCU. In order to configure the memory usage, I modified the "shipped" lcf file. &amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that wherever I use the&amp;nbsp;&lt;EM&gt;section ".Foo"&amp;nbsp;&lt;/EM&gt;expression, the linker throws the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Linker command file output section '.Foo' has a type or input which is incompatible with section '.__Foo' in file ... Change the type or add an input for this section.&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I'd like set where to put the interrupt table. The relevant part of my lcf file:&lt;/P&gt;&lt;OL class="" style="color: #acacac; background: #f7f7f7; padding: 0px 0px 0px 55px;"&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;MEMORY&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; resetvector&lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00000000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00000008&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; init&lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00000010&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x0000FFF0&lt;/SPAN&gt; &lt;SPAN class="" style="color: #808080;"&gt;/*64K */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; exception_handlers&lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00010000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x0030000&lt;/SPAN&gt; &lt;SPAN class="" style="color: #808080;"&gt;/* 192K */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; internal_flash&lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00040000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x003C0000&lt;/SPAN&gt; &lt;SPAN class="" style="color: #808080;"&gt;/* 3840K */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; internal_ram&lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x40000000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00020000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; heap &amp;nbsp;&lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x40020000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00008000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; stack &lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x40028000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00008000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; end_of_kd&lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x4001DFF0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;,&lt;/SPAN&gt; &amp;nbsp; len &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208080;"&gt;0x00000000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;FORCEACTIVE &lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ff0000;"&gt;"bam_rchw"&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ff0000;"&gt;"bam_resetvector"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;SECTIONS&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp;GROUP &lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;SPAN class="" style="color: #202020;"&gt;intc_hw_branch_table&lt;/SPAN&gt; &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;VLECODE&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; LOAD &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;ADDR&lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;exception_handlers&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; ALIGN &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #208080;"&gt;0x10&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;SPAN class="" style="color: #202020;"&gt;ivor_branch_table_p0&lt;/SPAN&gt; &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;VLECODE&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; LOAD &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;_e_intc_hw_branch_table&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; ALIGN &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #208080;"&gt;0x10&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .__exception_handlers &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;VLECODE&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; LOAD &lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;_e_ivor_branch_table_p0&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #339933;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt; &lt;SPAN class="" style="color: #339933;"&gt;&amp;gt;&lt;/SPAN&gt; exception_handlers&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;__IVPR_VALUE &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; ADDR&lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;exception_handlers&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;EXCEPTION_HANDLERS &lt;SPAN class="" style="color: #339933;"&gt;=&lt;/SPAN&gt; ADDR&lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #202020;"&gt;ivor_branch_table_p0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="" style="color: #339933;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #000000;"&gt;And in the c source code I use the following pragmas:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL class="" style="color: #acacac; background: #f7f7f7; padding: 0px 0px 0px 55px;"&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class=""&gt;#pragma section code_type ".ivor_branch_table_p0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class=""&gt;#pragma force_active on&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class=""&gt;#pragma function_align 16&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class=""&gt;#pragma require_prototypes off&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;asm &lt;SPAN class="" style="color: #993333;"&gt;void&lt;/SPAN&gt; ivor_branch_table_p0&lt;SPAN class="" style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #993333;"&gt;void&lt;/SPAN&gt;&lt;SPAN class="" style="color: #009900;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; nofralloc&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&amp;nbsp; &amp;nbsp; ...&lt;/DIV&gt;&lt;/LI&gt;&lt;LI class="" style="background: #ffffff; margin: 0px 0px 0px -6px;"&gt;&lt;DIV class="" style="color: #333333; background: #ffffff; border-left: 1px solid #dddddd; margin: 0px 0px 0px -7px; padding: 0px 8px;"&gt;&lt;SPAN class="" style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="" style="color: #009900;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #000000;"&gt;Finally the error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #000000;"&gt;Description Resource Path Location Type&lt;BR /&gt;Linker command file output section '.__exception_handlers' has a type or input which is incompatible with section '.__exception_handlers' in file 'C:\Freescale\Freescale_MQX_4_2\lib\xpc564a.cw10\bsp\Debug\build-bsp_xpc564a- Debug\BSP_Files\IntcInterrupts_c.obj'. Change the type or add an input for this section.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #000000;"&gt;To be honest, I don't understand the lcf syntax for 100%... so any help appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #000000;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #000000;"&gt;János Murai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 10:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Linker-command-file-problem-MPC5644A/m-p/634569#M6036</guid>
      <dc:creator>janos_murai</dc:creator>
      <dc:date>2017-01-20T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Linker command file problem - MPC5644A</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Linker-command-file-problem-MPC5644A/m-p/634570#M6037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems you are trying to add your custom section into .lcf am I right?&lt;/P&gt;&lt;P&gt;If your custom section should contain a code please make sure:&lt;/P&gt;&lt;P&gt;1) you use this pragma in your C code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;#pragma &lt;STRONG&gt;code_type&lt;/STRONG&gt; ".foo"&lt;/P&gt;&lt;P&gt;2) the custom section should be defined in .lcf as VLECODE (assume you are building VLE code):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.foo &lt;STRONG&gt;(VLECODE)&lt;/STRONG&gt; LOAD ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 15:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Linker-command-file-problem-MPC5644A/m-p/634570#M6037</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2017-01-20T15:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Linker command file problem - MPC5644A</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Linker-command-file-problem-MPC5644A/m-p/634571#M6038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stan,&lt;/P&gt;&lt;P&gt;Thank you for your answer!&lt;BR /&gt;As you suggested I changed the pragma in the c source from:&lt;BR /&gt;#pragma section code_type ".ivor_branch_table_p0"&lt;BR /&gt;to&lt;BR /&gt;#pragma code_type ".ivor_branch_table_p0"&lt;BR /&gt;(So I removed the “section” expression), and now it doesn’t throw that error. &lt;BR /&gt;Although, I don’t understand why…&lt;BR /&gt;If you create a new Bare-board project with CW, it generates the .lcf file and the ivor_branch_table.c file. In the c file the pragma contains the “section” expression too and of course it works that way. So what’s the point of “section”? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I build VLE code and I'd like to extend the lcf file later.&lt;/P&gt;&lt;P&gt;János&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:42:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Linker-command-file-problem-MPC5644A/m-p/634571#M6038</guid>
      <dc:creator>janos_murai</dc:creator>
      <dc:date>2017-01-20T16:42:44Z</dc:date>
    </item>
  </channel>
</rss>

