<?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 S32K_How to merge 3 elf using makefile in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K-How-to-merge-3-elf-using-makefile/m-p/1707189#M26204</link>
    <description>&lt;P&gt;Now I can use makefile to convert elf to bin and hex, but how can I merge 3 elf(one core, one elf).&lt;/P&gt;&lt;P&gt;I search the internet, there isn't much decription about merge of objcopy. when I call objcopy, compiling always returns in errors.&lt;/P&gt;&lt;P&gt;the following is the code in my makefile, I use cmd to run "make merge"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.PHONY: merge&lt;BR /&gt;merge: $(BINDIR)/s32k396_mc.elf&lt;/P&gt;&lt;P&gt;$(BINDIR)/s32k396_mc.elf :&lt;BR /&gt;$(info Generating elf File ...)&lt;BR /&gt;$(OBJCPY) --input-format=elf32-little --output-format=elf32-little --merge-sections .text=$(BINDIR)/s32k396_mc_c0.elf .text=$(BINDIR)/s32k396_mc_c1.elf .text=$(BINDIR)/s32k396_mc_c2.elf $(BINDIR)/s32k396_mc.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compiling error:&lt;/P&gt;&lt;P&gt;arm-none-eabi-objcopy.exe: supported targets: elf32-littlearm elf32-littlearm-fdpic elf32-bigarm elf32-bigarm-fdpic elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin&lt;BR /&gt;make: *** [Makefile:318: ../binary/s32k396_mc.elf] Error 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2023 03:49:10 GMT</pubDate>
    <dc:creator>Zhougw</dc:creator>
    <dc:date>2023-08-18T03:49:10Z</dc:date>
    <item>
      <title>S32K_How to merge 3 elf using makefile</title>
      <link>https://community.nxp.com/t5/S32K/S32K-How-to-merge-3-elf-using-makefile/m-p/1707189#M26204</link>
      <description>&lt;P&gt;Now I can use makefile to convert elf to bin and hex, but how can I merge 3 elf(one core, one elf).&lt;/P&gt;&lt;P&gt;I search the internet, there isn't much decription about merge of objcopy. when I call objcopy, compiling always returns in errors.&lt;/P&gt;&lt;P&gt;the following is the code in my makefile, I use cmd to run "make merge"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.PHONY: merge&lt;BR /&gt;merge: $(BINDIR)/s32k396_mc.elf&lt;/P&gt;&lt;P&gt;$(BINDIR)/s32k396_mc.elf :&lt;BR /&gt;$(info Generating elf File ...)&lt;BR /&gt;$(OBJCPY) --input-format=elf32-little --output-format=elf32-little --merge-sections .text=$(BINDIR)/s32k396_mc_c0.elf .text=$(BINDIR)/s32k396_mc_c1.elf .text=$(BINDIR)/s32k396_mc_c2.elf $(BINDIR)/s32k396_mc.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compiling error:&lt;/P&gt;&lt;P&gt;arm-none-eabi-objcopy.exe: supported targets: elf32-littlearm elf32-littlearm-fdpic elf32-bigarm elf32-bigarm-fdpic elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin&lt;BR /&gt;make: *** [Makefile:318: ../binary/s32k396_mc.elf] Error 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 03:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-How-to-merge-3-elf-using-makefile/m-p/1707189#M26204</guid>
      <dc:creator>Zhougw</dc:creator>
      <dc:date>2023-08-18T03:49:10Z</dc:date>
    </item>
  </channel>
</rss>

