<?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 Microcontrollers中的主题 Re: KDS: Compile Only Files Changed</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735758#M44922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;have you renamed your project (or someone else did not correctly rename it)? Check the refresh policy (have a read at &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/06/06/eclipse-project-refresh-policy-broken-incremental-build-with-external-make/" title="https://mcuoneclipse.com/2015/06/06/eclipse-project-refresh-policy-broken-incremental-build-with-external-make/"&gt;Eclipse Project ‘Refresh Policy’: Broken Incremental Build with External Make? | MCU on Eclipse&lt;/A&gt; ) which is most likely the reason for that problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Nov 2017 06:24:54 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2017-11-25T06:24:54Z</dc:date>
    <item>
      <title>KDS: Compile Only Files Changed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735755#M44919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Silly question:&amp;nbsp; What KDS settings need to change to compile only files which have changed?&amp;nbsp; Each time I compile (not a BUILD ALL) every .C file gets recompiled and this takes a ton of time. I know there is a setting(s) which makes this possible so only files that have changed get re-compiled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KDS Version is 3.2.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 23:06:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735755#M44919</guid>
      <dc:creator>philhale</dc:creator>
      <dc:date>2017-11-24T23:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Compile Only Files Changed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735756#M44920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use KDS much but it seems to be set up roughly the same as CodeWarrior and MCUXpresso, and it ought to compile only the required files by default.&amp;nbsp; Go to the project properties, and check the settings under C/C++ Build.&amp;nbsp; I recommend setting 'Enable parallel build' at least - it's disabled by default, and on my machine it makes a huge improvement in build speed.&amp;nbsp; Check that the other settings look sane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that if you edit a .h file that's used by a lot of .c files, all of those .c files are going to get recompiled.&amp;nbsp; I just checked with a simple KDS 3.2 project that hasn't had any obscure settings tweaked and I verified that editing one .c file results in just that .c file being compiled, plus linking of course:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;20:09:11 **** Incremental Build of configuration Debug for project replay ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Building file: ../Sources/spiflash.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Invoking: Cross ARM C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;arm-none-eabi-gcc (...) -c -o "Sources/spiflash.o" "../Sources/spiflash.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Finished building: ../Sources/spiflash.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Building target: replay.elf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Invoking: Cross ARM C++ Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;arm-none-eabi-g++ (...) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Finished building target: replay.elf&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;See what you're getting on the console.&amp;nbsp; I'd start by just building the whole thing when it's already built to see what it does, and then change just one .c file and see what changes.&amp;nbsp; If it's recompiling everything, I'd check the makefile and see what it's trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Nov 2017 04:14:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735756#M44920</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2017-11-25T04:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Compile Only Files Changed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735757#M44921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply.&amp;nbsp; I will try the setting you suggest.&amp;nbsp; Doesn't really matter what I modify, the entire package gets recompiled and we are talking about 70+ files. In fact, I can do a Build All then turn around and do a Debug build and it recompiles everything. Weird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try what you suggest and reply with the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Scott.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Nov 2017 05:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735757#M44921</guid>
      <dc:creator>philhale</dc:creator>
      <dc:date>2017-11-25T05:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Compile Only Files Changed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735758#M44922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;have you renamed your project (or someone else did not correctly rename it)? Check the refresh policy (have a read at &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/06/06/eclipse-project-refresh-policy-broken-incremental-build-with-external-make/" title="https://mcuoneclipse.com/2015/06/06/eclipse-project-refresh-policy-broken-incremental-build-with-external-make/"&gt;Eclipse Project ‘Refresh Policy’: Broken Incremental Build with External Make? | MCU on Eclipse&lt;/A&gt; ) which is most likely the reason for that problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Nov 2017 06:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735758#M44922</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-11-25T06:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Compile Only Files Changed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735759#M44923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;That was exactly the problem! The link explains exactly what was happening. Great article!&lt;/P&gt;&lt;P&gt;Thank you very much!&amp;nbsp; This was really bugging me!&amp;nbsp; :smileyhappy:&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Nov 2017 21:32:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735759#M44923</guid>
      <dc:creator>philhale</dc:creator>
      <dc:date>2017-11-25T21:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Compile Only Files Changed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735760#M44924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're going to be doing any real work at all with Kinetis and KDS or MCUXpresso, I really strongly recommend following Erich's blog, and skimming over all of the past posts when you have time!&amp;nbsp; I have lost count of how many times his posts have covered exactly what I needed to know, plus a bunch of stuff I wouldn't have had time to go find out about on my own.&amp;nbsp; It's a better source of information than any official NXP outlet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2017 15:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735760#M44924</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2017-11-26T15:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Compile Only Files Changed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735761#M44925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree. This is the second problem that Erich has resolved by one of these blogs.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Compile-Only-Files-Changed/m-p/735761#M44925</guid>
      <dc:creator>philhale</dc:creator>
      <dc:date>2017-11-27T15:34:48Z</dc:date>
    </item>
  </channel>
</rss>

