<?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 (LCF) problem with CW 10.6 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-Command-File-LCF-problem-with-CW-10-6/m-p/758525#M14531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 07:57:07 GMT</pubDate>
    <dc:creator>leeyeel</dc:creator>
    <dc:date>2018-03-21T07:57:07Z</dc:date>
    <item>
      <title>Linker Command File (LCF) problem with CW 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-Command-File-LCF-problem-with-CW-10-6/m-p/758523#M14529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused when reading the&amp;nbsp;Note &lt;STRONG&gt;&lt;EM&gt;CodeWarrior Linker Command File (LCF) for Qorivva/PX .&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the &lt;EM&gt;Listing 6. C source file,&amp;nbsp;&lt;/EM&gt; the variable long bss_i should be forcefully placed into ".&lt;STRONG&gt;data&lt;/STRONG&gt;" section, but in fact, bss_i is placed in "&lt;STRONG&gt;.bss&lt;/STRONG&gt;" section. So why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24398iBE25440108B9EB5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24434iA9A92DD79AFA3F43/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The note is here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN4497.pdf" title="https://www.nxp.com/docs/en/application-note/AN4497.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4497.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:58:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-Command-File-LCF-problem-with-CW-10-6/m-p/758523#M14529</guid>
      <dc:creator>leeyeel</dc:creator>
      <dc:date>2018-03-14T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Command File (LCF) problem with CW 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-Command-File-LCF-problem-with-CW-10-6/m-p/758524#M14530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the code from application note and I can confirm the declspec with long bss_i does not work, which is correct according to declspec implementation, so there is incorrect declspec usage in the application note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the code below:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;#pragma push&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;#pragma section sdata_type ".data" ".data" &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;long bss_i;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;#pragma pop&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other question, please feel free to write me back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 12:13:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-Command-File-LCF-problem-with-CW-10-6/m-p/758524#M14530</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2018-03-20T12:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Command File (LCF) problem with CW 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-Command-File-LCF-problem-with-CW-10-6/m-p/758525#M14531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 07:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-Command-File-LCF-problem-with-CW-10-6/m-p/758525#M14531</guid>
      <dc:creator>leeyeel</dc:creator>
      <dc:date>2018-03-21T07:57:07Z</dc:date>
    </item>
  </channel>
</rss>

