<?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: Constants Into ROM in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Constants-Into-ROM/m-p/170941#M5276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;by default, constants with the ColdFire compiler are already in ROM. You should be able to verify this if you enable the linker map file (in the linker output options).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pragma INTO_ROM and the option -Cc are not for the ColdFire compiler, but for the HCS08 one. That's why they are not accepted by the ColdFire compiler. And INTO_ROM and -Cc for the S08 compiler are only for the HIWARE object file format (a proprietary and legacy object file format). For ELF/Dwarf which is a standard and the default these option and pragma are not needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Jun 2012 11:45:10 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2012-06-09T11:45:10Z</dc:date>
    <item>
      <title>Constants Into ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Constants-Into-ROM/m-p/170940#M5275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;How to put constants into ROM?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;(CW 6.3 SE, Coldfire 51MM256)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;The help-file says to use "#pragma INTO_ROM" but the compiler rejects this as an " illegal pragma."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;Help-file also suggests "&lt;/SPAN&gt;&lt;SPAN style="font-size: 2;"&gt;-Cc: Allocate Constant Objects into ROM" but I can't see how to do this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;The&lt;/SPAN&gt; 'Standard Settings: menu (completely changed from last time I saw it, BTW) has no place under 'Coldfire Linker' to make this change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wade Hassler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2012 04:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Constants-Into-ROM/m-p/170940#M5275</guid>
      <dc:creator>WadeH</dc:creator>
      <dc:date>2012-06-09T04:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Constants Into ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Constants-Into-ROM/m-p/170941#M5276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;by default, constants with the ColdFire compiler are already in ROM. You should be able to verify this if you enable the linker map file (in the linker output options).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pragma INTO_ROM and the option -Cc are not for the ColdFire compiler, but for the HCS08 one. That's why they are not accepted by the ColdFire compiler. And INTO_ROM and -Cc for the S08 compiler are only for the HIWARE object file format (a proprietary and legacy object file format). For ELF/Dwarf which is a standard and the default these option and pragma are not needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2012 11:45:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Constants-Into-ROM/m-p/170941#M5276</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-06-09T11:45:10Z</dc:date>
    </item>
  </channel>
</rss>

