<?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 Specify Memory Location for Comms Driver in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Specify-Memory-Location-for-Comms-Driver/m-p/180802#M6132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to specify a memory location for a USB driver.&amp;nbsp; I've compiled the Freescale USB stack (v4.0.2) as a library, and I'd like to specify the memory location, so that the driver can be shared between main code and the boot loader.&amp;nbsp; What's the best way to do this?&amp;nbsp; I imagine that there would have to be a mechanism to map functions to the appropriate call address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2012 20:41:47 GMT</pubDate>
    <dc:creator>jimfell</dc:creator>
    <dc:date>2012-11-19T20:41:47Z</dc:date>
    <item>
      <title>Specify Memory Location for Comms Driver</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Specify-Memory-Location-for-Comms-Driver/m-p/180802#M6132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to specify a memory location for a USB driver.&amp;nbsp; I've compiled the Freescale USB stack (v4.0.2) as a library, and I'd like to specify the memory location, so that the driver can be shared between main code and the boot loader.&amp;nbsp; What's the best way to do this?&amp;nbsp; I imagine that there would have to be a mechanism to map functions to the appropriate call address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 20:41:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Specify-Memory-Location-for-Comms-Driver/m-p/180802#M6132</guid>
      <dc:creator>jimfell</dc:creator>
      <dc:date>2012-11-19T20:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Specify Memory Location for Comms Driver</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Specify-Memory-Location-for-Comms-Driver/m-p/180803#M6133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to do this with the linker file. Basically marking the functions in the source file with an attribute (segment name), and then place the functions into a memory area in the linker file.&lt;/P&gt;&lt;P&gt;The syntax is somewhat different from compiler to compiler (and linker to linker).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 07:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Specify-Memory-Location-for-Comms-Driver/m-p/180803#M6133</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-11-20T07:27:35Z</dc:date>
    </item>
  </channel>
</rss>

