<?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: Including A Raw Binary File Into A Linker Script in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-A-Raw-Binary-File-Into-A-Linker-Script/m-p/897336#M15045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do it with the linker, then there are many possible (maybe more) approaches:&lt;/P&gt;&lt;P&gt;- use a binary include in the as (assembler). This creates a object file you can link with&lt;/P&gt;&lt;P&gt;- use the objcopy to create an object file (See as well &lt;A class="link-titled" href="https://mcuoneclipse.com/2018/01/27/converting-a-raw-binary-file-into-an-elf-dwarf-file-for-loading-and-debugging/" title="https://mcuoneclipse.com/2018/01/27/converting-a-raw-binary-file-into-an-elf-dwarf-file-for-loading-and-debugging/"&gt;Converting a Raw Binary File into an ELF/Dwarf File for Loading and Debugging | MCU on Eclipse&lt;/A&gt;&amp;nbsp; on that subject)&lt;/P&gt;&lt;P&gt;- see &lt;A class="link-titled" href="https://stackoverflow.com/questions/327609/include-binary-file-with-gnu-ld-linker-script" title="https://stackoverflow.com/questions/327609/include-binary-file-with-gnu-ld-linker-script"&gt;Include binary file with GNU ld linker script - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 May 2019 09:21:54 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2019-05-01T09:21:54Z</dc:date>
    <item>
      <title>Including A Raw Binary File Into A Linker Script</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-A-Raw-Binary-File-Into-A-Linker-Script/m-p/897335#M15044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using CodeWarrior 10.6 (CW), with gcc, for a Kinetis project, with MQX 4.&amp;nbsp; I want to include an external binary file from another project and have it linked into this project's output. I read a number of PDFs and forum posts, but I have found the following problems: In the linker script/command file (.ld), the INCLUDE command here means "include another .ld script", NOT "include a binary file".&amp;nbsp; And, the commands TARGET and OUTPUT_FORMAT are NOT recognized by the linker (arm-none-eabi-gcc); they only cause syntax errors.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in this environment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2019 19:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-A-Raw-Binary-File-Into-A-Linker-Script/m-p/897335#M15044</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2019-04-30T19:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Including A Raw Binary File Into A Linker Script</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-A-Raw-Binary-File-Into-A-Linker-Script/m-p/897336#M15045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do it with the linker, then there are many possible (maybe more) approaches:&lt;/P&gt;&lt;P&gt;- use a binary include in the as (assembler). This creates a object file you can link with&lt;/P&gt;&lt;P&gt;- use the objcopy to create an object file (See as well &lt;A class="link-titled" href="https://mcuoneclipse.com/2018/01/27/converting-a-raw-binary-file-into-an-elf-dwarf-file-for-loading-and-debugging/" title="https://mcuoneclipse.com/2018/01/27/converting-a-raw-binary-file-into-an-elf-dwarf-file-for-loading-and-debugging/"&gt;Converting a Raw Binary File into an ELF/Dwarf File for Loading and Debugging | MCU on Eclipse&lt;/A&gt;&amp;nbsp; on that subject)&lt;/P&gt;&lt;P&gt;- see &lt;A class="link-titled" href="https://stackoverflow.com/questions/327609/include-binary-file-with-gnu-ld-linker-script" title="https://stackoverflow.com/questions/327609/include-binary-file-with-gnu-ld-linker-script"&gt;Include binary file with GNU ld linker script - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 09:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-A-Raw-Binary-File-Into-A-Linker-Script/m-p/897336#M15045</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-05-01T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Including A Raw Binary File Into A Linker Script</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-A-Raw-Binary-File-Into-A-Linker-Script/m-p/897337#M15046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been searching and trying so hard to get the linker commands to do what I want that I didn't even look for alternative ways.&amp;nbsp; I'm sure that one of your suggestions will work since it seems the linker commands themselves fall short (despite the fact that the "MCU_Kinetis_Compiler.pdf" that came with the CW installation says "INCLUDE" handles binary files).&amp;nbsp; Thank you.&amp;nbsp; And let me say that it is an honor to have you reply to my inquiry; your MCU/Eclipse website has been helpful many times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 13:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-A-Raw-Binary-File-Into-A-Linker-Script/m-p/897337#M15046</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2019-05-01T13:56:48Z</dc:date>
    </item>
  </channel>
</rss>

