<?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: Kinetis K60 modifying example programs in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087066#M3793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's in&lt;/P&gt;&lt;P&gt;Project-&amp;gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;MCU C Compiler-&amp;gt;Includes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2020 16:53:12 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2020-06-01T16:53:12Z</dc:date>
    <item>
      <title>Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087058#M3785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MCUxpresso 11.1 with a Kinetis K60 in the 100 pin LQFP package in a bare metal project.&amp;nbsp; I want to test the SD interface, so I installed the example code from the K60 tower board SDK.&amp;nbsp; That codes uses a 100 pin K60 in a BGA package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the Quick Start panel to create a new bare metal project, used the Pins config to set the SD port pins, and then copied and pasted the Tower SD project code into mine.&amp;nbsp; I made sure to copy the folders and all their contents.&amp;nbsp; I did not make any changes to this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, it's not compiling.&amp;nbsp; I get a dozen or so errors, all about functions such as f_read, f_write, f_mount etc, not being defined. I know there are software switches to control what is included, but all the ones I could find are set to include everything.&amp;nbsp; In poking around, I see that although I copied all the folders over, only about half of them are listed in the make file.&amp;nbsp; In particular, fatfs and sdmmc are not included, although they are in the folder.&amp;nbsp; When I compile the example code and run it on a Tower board, it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how do I get the rest of the files into the mak files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 18:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087058#M3785</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2020-05-28T18:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087059#M3786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your files in folders that are defined as ‘source folders’? It should have a small blue c in the corner of the icon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 19:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087059#M3786</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-28T19:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087060#M3787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Con --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of the folders have the blue 'C', but two don't.&amp;nbsp; They are fatfs and sdmmc, which are the two I think are causing the problem.&amp;nbsp; How do I make them source files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 21:59:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087060#M3787</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2020-05-28T21:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087061#M3788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I figured it out.&amp;nbsp; For the benefit of anyone else reading this, right click on the folder that doesn't have a blue 'C', go all the way down to Properties, and select it.&amp;nbsp; Then open Resource &amp;gt;&amp;gt; C&lt;/P&gt;&lt;P&gt;/C++ General &amp;gt;&amp;gt; Paths and Symbols.&amp;nbsp; There is a box near the top that says "Exclude resource from build".&amp;nbsp; Uncheck the box, select Apply and Close, and you're done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Con.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where's the box that says Answered?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 23:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087061#M3788</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2020-05-28T23:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087062#M3789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The correct way to do this is described in the documentation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help-&amp;gt;Help contents&lt;/P&gt;&lt;P&gt;and search for "Source Folder"&lt;/P&gt;&lt;P&gt;Will give you instructions on converting a folder into a Source folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2020 08:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087062#M3789</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-29T08:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087063#M3790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Con --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, that process does work for source files, but it doesn't work for include files.&amp;nbsp; Same screen, but with the Includes tab selected.&amp;nbsp; I select Add, and enter the name of a folder.&amp;nbsp; The header symbol is yellow, not blue, and the warning at the bottom says the selected folder does not exist or is not accessible.&amp;nbsp; It certainly does exist,and I can open it.&amp;nbsp; So, what is the secret to header files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 May 2020 20:25:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087063#M3790</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2020-05-31T20:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087064#M3791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/388957"&gt;https://community.nxp.com/thread/388957&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must realise the difference between Source folders, which tell the build system where to look for files to compile (i.e. 'where are the C files located to build') with Include Paths, which tell the compiler where to look for header files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also find this article useful&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2020/01/19/ways-to-apply-eclipse-cdt-c-c-project-settings/#more-28110" title="https://mcuoneclipse.com/2020/01/19/ways-to-apply-eclipse-cdt-c-c-project-settings/#more-28110"&gt;Ways to apply Eclipse CDT C/C++ Project Settings | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 08:08:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087064#M3791</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-06-01T08:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087065#M3792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Con --&lt;/P&gt;&lt;P&gt;The main point of that article was "use the Quick Start panel", which I did, and it solved that problem.&amp;nbsp; Double-checking the results by selecting Project &amp;gt;&amp;gt; Properties&amp;gt;&amp;gt; C/C++ General &amp;gt;&amp;gt;Paths and Symbols shows.... nothing.&amp;nbsp; Whatever Quick Start does, it doesn't do it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, that problem has gone away, so on to the next one.&amp;nbsp; Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 16:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087065#M3792</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2020-06-01T16:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K60 modifying example programs</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087066#M3793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's in&lt;/P&gt;&lt;P&gt;Project-&amp;gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;MCU C Compiler-&amp;gt;Includes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 16:53:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Kinetis-K60-modifying-example-programs/m-p/1087066#M3793</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-06-01T16:53:12Z</dc:date>
    </item>
  </channel>
</rss>

