<?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>CodeWarrior for MCUのトピックRe: Embedding resources in executable</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Embedding-resources-in-executable/m-p/296803#M10709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your final purpose, to have that array in your device's memory or just in the executable (elf) file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an INCLUDE linker directive that allows you to specify a binary file. Please give a check to section 14.7.7 of the attached document. Just make sure to include the path of the binary file in the linker library search paths. This is done from Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; ColdFire Linker -&amp;gt; Input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just need to append a binary file to your executable, maybe the EHEP Eclipse plugin described at the next link will be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/04/02/5-best-eclipse-plugins-4-ehep/" title="http://mcuoneclipse.com/2012/04/02/5-best-eclipse-plugins-4-ehep/"&gt;5 Best Eclipse Plugins: #4 (EHEP) | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 04:50:48 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2014-03-19T04:50:48Z</dc:date>
    <item>
      <title>Embedding resources in executable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Embedding-resources-in-executable/m-p/296802#M10708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to embed a binary file as constant data in an executable.&amp;nbsp; Is there a way to do this with the Linker command file?&amp;nbsp; Basically the binary file is just raw data that I would like to access as an array in my executable.&amp;nbsp; I am using CodeWarrior for MCU 10.5 on a bareboard project (MCF54451).&amp;nbsp; Feel free to ask for more clarifications.&lt;/P&gt;&lt;H1 style="margin-bottom: 7px; font-size: 23px; font-family: 'Trebuchet MS', 'Liberation Sans', 'DejaVu Sans', sans-serif; color: #000000;"&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 17:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Embedding-resources-in-executable/m-p/296802#M10708</guid>
      <dc:creator>yanbellavance</dc:creator>
      <dc:date>2014-03-14T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Embedding resources in executable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Embedding-resources-in-executable/m-p/296803#M10709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your final purpose, to have that array in your device's memory or just in the executable (elf) file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an INCLUDE linker directive that allows you to specify a binary file. Please give a check to section 14.7.7 of the attached document. Just make sure to include the path of the binary file in the linker library search paths. This is done from Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; ColdFire Linker -&amp;gt; Input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just need to append a binary file to your executable, maybe the EHEP Eclipse plugin described at the next link will be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/04/02/5-best-eclipse-plugins-4-ehep/" title="http://mcuoneclipse.com/2012/04/02/5-best-eclipse-plugins-4-ehep/"&gt;5 Best Eclipse Plugins: #4 (EHEP) | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 04:50:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Embedding-resources-in-executable/m-p/296803#M10709</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-03-19T04:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Embedding resources in executable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Embedding-resources-in-executable/m-p/296804#M10710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This is what I was looking for.&amp;nbsp; Thank you very much :smileygrin:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Embedding-resources-in-executable/m-p/296804#M10710</guid>
      <dc:creator>yanbellavance</dc:creator>
      <dc:date>2014-03-19T14:31:47Z</dc:date>
    </item>
  </channel>
</rss>

