<?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 KDS Command Line Clean Build in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559184#M7170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm doing a command line build with KDS.&amp;nbsp; I followed Erich Styger's guide and I was able to get it to build.&amp;nbsp; However, I need it to do a "clean" build.&amp;nbsp; I found the -cleanBuild option but it does a "clean" followed by a "build".&amp;nbsp; Is there a way to make it just do a clean without building?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2016 18:29:18 GMT</pubDate>
    <dc:creator>mikewilliams</dc:creator>
    <dc:date>2016-07-11T18:29:18Z</dc:date>
    <item>
      <title>KDS Command Line Clean Build</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559184#M7170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm doing a command line build with KDS.&amp;nbsp; I followed Erich Styger's guide and I was able to get it to build.&amp;nbsp; However, I need it to do a "clean" build.&amp;nbsp; I found the -cleanBuild option but it does a "clean" followed by a "build".&amp;nbsp; Is there a way to make it just do a clean without building?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 18:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559184#M7170</guid>
      <dc:creator>mikewilliams</dc:creator>
      <dc:date>2016-07-11T18:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: KDS Command Line Clean Build</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559185#M7171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello MIKE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about the -clean command ?&lt;/P&gt;&lt;P&gt;For Erich have so many guides , could you please tell me which one do you used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 02:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559185#M7171</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-07-12T02:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: KDS Command Line Clean Build</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559186#M7172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call the make file with the clean target:&lt;/P&gt;&lt;P&gt;make clean&lt;/P&gt;&lt;P&gt;This is equivalent to&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36508i91AB4CC22F147090/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: articles on that subject:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2016/05/26/build-and-clean-selected-files-in-eclipse-cdt/" title="https://mcuoneclipse.com/2016/05/26/build-and-clean-selected-files-in-eclipse-cdt/"&gt;https://mcuoneclipse.com/2016/05/26/build-and-clean-selected-files-in-eclipse-cdt/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/" title="https://mcuoneclipse.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/"&gt;https://mcuoneclipse.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 06:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559186#M7172</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-07-12T06:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: KDS Command Line Clean Build</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559187#M7173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm gonna plead ignorance so forgive me if I sound dumb.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go to my Build Configuration directory and type 'make clean', it only deletes the .elf file, not the object files.&amp;nbsp; If I go to KDS and do a 'clean', I see in the console that it deletes the .elf file AND the objects.&amp;nbsp; Not sure what's going on there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to build the project from the command line.&amp;nbsp; To do that, I used the command from your guide and it works great.&amp;nbsp; But I can't get it to do a 'clean' only.&amp;nbsp; To build, I used the build command below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"c:\My Program Files\freescale\kds_3.0.0\eclipse\eclipsec.exe" -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "..\..\..\KDS Workspaces" -build ATS_ANN_App --launcher.ini "c:\My Program files\Freescale\KDS_3.0.0\eclipse\kinetis-design-studio.ini" --launcher.suppressErrors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed -build to -clean, it didn't like that at all.&amp;nbsp; I changed it to -cleanBuild and it does a clean then a build.&amp;nbsp; Is there a way to make the above command line do a 'clean' only?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 15:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559187#M7173</guid>
      <dc:creator>mikewilliams</dc:creator>
      <dc:date>2016-07-12T15:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: KDS Command Line Clean Build</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559188#M7174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;there are only a few options if you run the build with Eclipse on the command line (see &lt;A href="https://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/" title="https://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/"&gt;https://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the make files have been created, you could run the normal make. See the makefile inside the output (Debug) folder which has the following target:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Other Targets&lt;/P&gt;&lt;P&gt;clean:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -$(RM) $(SECONDARY_SIZE)$(OBJS)$(C_DEPS)$(ASM_DEPS)$(SECONDARY_FLASH)$(S_UPPER_DEPS) FRDM-K64F_Demo.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -@echo ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you could call it with&lt;/P&gt;&lt;P&gt;make -f makefile clean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 15:41:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Command-Line-Clean-Build/m-p/559188#M7174</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-07-12T15:41:12Z</dc:date>
    </item>
  </channel>
</rss>

