<?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: Reg: const variables in CW in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192254#M6922</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;&amp;nbsp; Which MCU are you targeting (HC08, Coldfire, Kinetis, ...)?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Answer to this question depends on the target you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2012 06:43:29 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2012-09-14T06:43:29Z</dc:date>
    <item>
      <title>Reg: const variables in CW</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192253#M6921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings to all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; I am working with C&lt;/SPAN&gt;odeWarrior for MCU Version: 10. I need the clarification tha where the const variables will be stored ? is it in Flash memory (Code area) ?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, can i redirect these variables to store in RAM by using prm file ??&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 04:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192253#M6921</guid>
      <dc:creator>girichavana</dc:creator>
      <dc:date>2012-09-14T04:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: const variables in CW</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192254#M6922</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;&amp;nbsp; Which MCU are you targeting (HC08, Coldfire, Kinetis, ...)?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Answer to this question depends on the target you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 06:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192254#M6922</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-09-14T06:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: const variables in CW</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192255#M6923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My target is HC08 MCU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 07:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192255#M6923</guid>
      <dc:creator>girichavana</dc:creator>
      <dc:date>2012-09-14T07:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: const variables in CW</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192256#M6924</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;HC08 compiler places all constants per default in a section called ROM_VAR (or .rodata).&lt;/P&gt;&lt;P&gt;This section is placed in flash in the.prm file generated by the wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to get your constants allocated in RAM, just place the section into a RAM memory area in the .prm file PLACEMENT block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have defined your own constant section (using pragma CONST_SEG), just place this section in a RAM memory area in the .prm file PLACEMENT block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you decide to allocate your constants in RAM, make sure you are not building with option -D__ONLY_INIT_SP. Initialization values for your constants will need to be copied from ROM to RAM at startup so you need to execute the whole startup code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 09:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192256#M6924</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-09-14T09:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: const variables in CW</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192257#M6925</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;                Can you explain, where the option  D__ONLY_INIT_SP will be available to enable/disable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Giri Chavana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 09:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192257#M6925</guid>
      <dc:creator>girichavana</dc:creator>
      <dc:date>2012-09-14T09:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: const variables in CW</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192258#M6926</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;UL&gt;&lt;LI&gt;Click right on the project name in the &lt;STRONG&gt;CodeWarrior Project&lt;/STRONG&gt; view&lt;/LI&gt;&lt;LI&gt;Select &lt;EM&gt;&lt;STRONG&gt;Properties&lt;/STRONG&gt;&lt;/EM&gt;. The Project Properties dialog is opened.&lt;/LI&gt;&lt;LI&gt;Switch to &lt;EM&gt;&lt;STRONG&gt;C/C++ Build&lt;/STRONG&gt;&lt;/EM&gt; &amp;gt; &lt;EM&gt;&lt;STRONG&gt;Settings&lt;/STRONG&gt;&lt;/EM&gt; &amp;gt; &lt;EM&gt;&lt;STRONG&gt;Tool Settings&lt;/STRONG&gt;&lt;/EM&gt; &amp;gt; &lt;EM&gt;&lt;STRONG&gt;S08 Compiler&lt;/STRONG&gt;&lt;/EM&gt; &amp;gt; &lt;EM&gt;&lt;STRONG&gt;Preprocessor&lt;/STRONG&gt;&lt;/EM&gt; page.&lt;/LI&gt;&lt;LI&gt;If the symbol &lt;STRONG&gt;__ONLY_INIT_SP&lt;/STRONG&gt; is listed in the list box, remove it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 13:09:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192258#M6926</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-09-14T13:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: const variables in CW</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192259#M6927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helly Catherine Bezy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the useful information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 13:50:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Reg-const-variables-in-CW/m-p/192259#M6927</guid>
      <dc:creator>girichavana</dc:creator>
      <dc:date>2012-09-14T13:50:47Z</dc:date>
    </item>
  </channel>
</rss>

