<?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>Kinetis Design Studio中的主题 Re: &amp;quot;Post-build steps&amp;quot; after &amp;quot;Cross ARM GNU Flash Image&amp;quot;</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436428#M3940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, sorry about that, I should have elaborated that I had to turn off the flash generation and use other means of doing what I intended, for the same reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2015 12:24:01 GMT</pubDate>
    <dc:creator>davidsherman</dc:creator>
    <dc:date>2015-07-23T12:24:01Z</dc:date>
    <item>
      <title>"Post-build steps" after "Cross ARM GNU Flash Image"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436423#M3935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Group!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to invoke a "Post-build steps" &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #3d3d3d; text-decoration: underline;"&gt;&lt;STRONG&gt;after&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;the IDE calls the "Cross ARM GNU Flash Image"? I have a script that needs to run against the SREC file that gets generated. However, my "post-build step" script is run before the&amp;nbsp; "Cross ARM GNU Flash Image" and thus, the SREC file has not been created yet.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This once worked with the CW tools. Any hints would be appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Monte---&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436423#M3935</guid>
      <dc:creator>ocmonte</dc:creator>
      <dc:date>2015-07-22T20:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: "Post-build steps" after "Cross ARM GNU Flash Image"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436424#M3936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's any help, I had to "massage" the s-record to split it into two sections, so I invoke objcopy to convert the .elf file and generate two s-record files.&amp;nbsp; I add this on the build steps page, and use the &amp;amp; to add another step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;${cross_prefix}objcopy -O srec project.elf project.srec&amp;amp;&amp;lt;add another step here&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436424#M3936</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2015-07-22T20:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: "Post-build steps" after "Cross ARM GNU Flash Image"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436425#M3937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can run multiple build steps as in the previous reply. However, the syntax depends if you are using windows or Linux, see &lt;A href="http://mcuoneclipse.com/2014/09/23/executing-multiple-commands-as-post-build-steps-in-eclipse/" title="http://mcuoneclipse.com/2014/09/23/executing-multiple-commands-as-post-build-steps-in-eclipse/"&gt;Executing Multiple Commands as Post-Build Steps in Eclipse | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:54:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436425#M3937</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-07-22T20:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: "Post-build steps" after "Cross ARM GNU Flash Image"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436426#M3938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it - but no luck. I tired my commend followed by an "echo done". Good suggestion but lo luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My post build command with the extra echo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;python ${WorkspaceDirPath}/../Scripts/buildInstallImage.py --file ${BuildLocation}/${BuildArtifactFileBaseName}.srec --output ${BuildLocation}/${BuildArtifactFileBaseName}.bin&amp;amp;echo done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the order how the IDE builds.The post-build is invoked after the link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Building target: CloverleafOG.elf'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Invoking: Cross ARM C++ Linker'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make --no-print-directory post-build&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Invoking: Cross ARM GNU Create Flash Image'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436426#M3938</guid>
      <dc:creator>ocmonte</dc:creator>
      <dc:date>2015-07-22T20:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: "Post-build steps" after "Cross ARM GNU Flash Image"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436427#M3939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see the thinking here. Disable the "Create flash image" in the "Toolchains" and invoke the flash image creation and any other items in the post-build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave had the right idea, Erich kick started my brain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 21:10:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436427#M3939</guid>
      <dc:creator>ocmonte</dc:creator>
      <dc:date>2015-07-22T21:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: "Post-build steps" after "Cross ARM GNU Flash Image"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436428#M3940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, sorry about that, I should have elaborated that I had to turn off the flash generation and use other means of doing what I intended, for the same reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 12:24:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/quot-Post-build-steps-quot-after-quot-Cross-ARM-GNU-Flash-Image/m-p/436428#M3940</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2015-07-23T12:24:01Z</dc:date>
    </item>
  </channel>
</rss>

