<?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 set a specific variable address in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140527#M1315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can modify your linker script (.lcf file) and use __declspec in your code to place variables there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See e.g. &lt;A href="https://community.freescale.com/message/97982#97982" title="https://community.freescale.com/message/97982#97982"&gt;https://community.freescale.com/message/97982#97982&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The linker script language is also described in the CW build tools user guide, reachable from online help.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2012 14:36:43 GMT</pubDate>
    <dc:creator>konrada</dc:creator>
    <dc:date>2012-05-18T14:36:43Z</dc:date>
    <item>
      <title>How to set a specific variable address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140524#M1312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi everybody,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Does anyone know how to set up a&amp;nbsp;variable at a specific address in CodeWarrior?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I need this to share a variable between two independent softwares (a bootloader and an application) in the RAM of a coldfire.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thx,&lt;/DIV&gt;&lt;DIV&gt;Olivier&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 21:21:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140524#M1312</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2006-06-21T21:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a specific variable address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140525#M1313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Which processor are you targeting (HC08, HC12, Coldfire, MPC82xx, ...)?&lt;/P&gt;&lt;P&gt;Which version of CodeWarrior are you using? To retrieve that info:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Start IDE&lt;BR /&gt;&amp;nbsp; - Select Help -&amp;gt; "About Freescale CodeWarrior"&lt;BR /&gt;&amp;nbsp; - Click on "Installed products"&lt;/P&gt;&lt;P&gt;The version number I am interested in are displayed on the top of the dialog.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 17:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140525#M1313</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-06-22T17:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a specific variable address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140526#M1314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same need as Olivier, I use a custom board with K60N512 processor, Codewarrior 10.2 and MQX 3.8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Teckna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 21:17:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140526#M1314</guid>
      <dc:creator>Teckna</dc:creator>
      <dc:date>2012-05-17T21:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a specific variable address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140527#M1315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can modify your linker script (.lcf file) and use __declspec in your code to place variables there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See e.g. &lt;A href="https://community.freescale.com/message/97982#97982" title="https://community.freescale.com/message/97982#97982"&gt;https://community.freescale.com/message/97982#97982&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The linker script language is also described in the CW build tools user guide, reachable from online help.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 14:36:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140527#M1315</guid>
      <dc:creator>konrada</dc:creator>
      <dc:date>2012-05-18T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a specific variable address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140528#M1316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd not want to create a section for every variable I want to place at specific address: I've read about the syntax:&lt;/P&gt;&lt;PRE&gt;int var @ 0x60000000 = 5;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;(where 0x60000000 is the address where I want to place the var variable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it don't seem to be valid for the Kinetis architecture. Is there any similar syntax valid for the Kinetis architecture?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Teckna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:41:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140528#M1316</guid>
      <dc:creator>Teckna</dc:creator>
      <dc:date>2020-10-29T08:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a specific variable address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140529#M1317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any other suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Teckna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 19:15:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140529#M1317</guid>
      <dc:creator>Teckna</dc:creator>
      <dc:date>2012-05-28T19:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a specific variable address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140530#M1318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could go the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define bla (*((unsigned long volatile*)0x12345678))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;way.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 18:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-set-a-specific-variable-address/m-p/140530#M1318</guid>
      <dc:creator>konrada</dc:creator>
      <dc:date>2012-05-30T18:28:57Z</dc:date>
    </item>
  </channel>
</rss>

