<?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: How to place a group of variables into specified RAM section in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-place-a-group-of-variables-into-specified-RAM-section/m-p/674339#M6013</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;please check the example in the post attachment. Check mainly linker file and main.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other questions, 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, 06 Jun 2017 08:25:45 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2017-06-06T08:25:45Z</dc:date>
    <item>
      <title>How to place a group of variables into specified RAM section</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-place-a-group-of-variables-into-specified-RAM-section/m-p/674338#M6012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear，&lt;/P&gt;&lt;P&gt;My target is to place a group of variables into specified RAM section.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I updated the LCF file like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; internal_ram:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org = 0x40000000,&amp;nbsp;&amp;nbsp; len = 0x00013000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; calcram:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org = 0x40013000,&amp;nbsp;&amp;nbsp; len = 0x00001000&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and add section:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/&lt;STRONG&gt;calbiration section&lt;/STRONG&gt;/&lt;/P&gt;&lt;P&gt;.calc_symbols(NOLOAD) : {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; . = ALIGN(4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *(.calc_symbols)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; . = ALIGN(4);&lt;/P&gt;&lt;P&gt;} &amp;gt; calcram&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the global varible is declared as:&lt;/P&gt;&lt;P&gt;__attribute__ ((section(".calc_symbols"))) uint16_t&amp;nbsp; TaskTick;&lt;/P&gt;&lt;P&gt;but the CodeWarrior always reports an error:&lt;/P&gt;&lt;P&gt;section '.calc_symbols' must have an uninitialized data section for object 'TaskTick'&lt;/P&gt;&lt;P&gt;In fact, I prefer to use #pragma command to specify data section or code secton for some variables or functions.&lt;/P&gt;&lt;P&gt;I believe codeWarrior can support it, but how to use it? And where to find a helpful document on NXP website?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and BR&lt;/P&gt;&lt;P&gt;Zhou Yi&lt;/P&gt;&lt;P&gt;CellPhone: +86 189 51964529&lt;/P&gt;&lt;P&gt;CT DD DS AA CN NJ&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337782"&gt;OldCCP.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 09:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-place-a-group-of-variables-into-specified-RAM-section/m-p/674338#M6012</guid>
      <dc:creator>yizhou</dc:creator>
      <dc:date>2017-06-05T09:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to place a group of variables into specified RAM section</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-place-a-group-of-variables-into-specified-RAM-section/m-p/674339#M6013</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;please check the example in the post attachment. Check mainly linker file and main.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other questions, 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, 06 Jun 2017 08:25:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-place-a-group-of-variables-into-specified-RAM-section/m-p/674339#M6013</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-06-06T08:25:45Z</dc:date>
    </item>
  </channel>
</rss>

