<?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: KL03 on KDS: Linking C Functions? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668192#M8874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to conclude this thread, I managed to get my code to work with the external functions without having to upgrade. It also turned out that I already have SDK2.0 installed.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2017 13:38:39 GMT</pubDate>
    <dc:creator>sarastout-grand</dc:creator>
    <dc:date>2017-06-06T13:38:39Z</dc:date>
    <item>
      <title>KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668173#M8855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the KL03 in the Kinetis Design Studio environment. I decided to break down main.c code into various functions, such as core_clock_init.c and ports_init.c. I call these functions from within main.c. However, when I run my code, I get the following error related to the linker:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/examples/frdmkl03z/user_apps/Sara_Tiny_Tag_Devel_Board/main.c:79: undefined reference to `core_clock_init'&lt;BR /&gt;C:/Freescale/KSDK_1.3.0/examples/frdmkl03z/user_apps/Sara_Tiny_Tag_Devel_Board/main.c:82: undefined reference to `ports_init&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now these functions are in the same location as the main.c. I have verified that that location is part of the includes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, where should I place these files? How do I make the linker see them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 12:33:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668173#M8855</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-30T12:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668174#M8856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you declare the functions inside your main?&lt;/P&gt;&lt;P&gt;Do you want this functions to exist in your main?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 16:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668174#M8856</guid>
      <dc:creator>neilporven</dc:creator>
      <dc:date>2017-05-30T16:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668175#M8857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not declared them in the main.c and I was not intending them to exist in main.ca.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m a little rusty on my C programming…so I must declare the external functions in main.ca? I didn’t because it seems that all the external functions being used in the demo examples are not defined inside main.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe my problem is related to the linker somehow. I have been looking at the setting under project/settings/Cross ARM C Linker. Not sure what to select though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.&lt;/P&gt;&lt;P&gt;Senior Hardware Designer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20 Angus Morton Dr., Bedford,&lt;/P&gt;&lt;P&gt;NS, Canada, B4B 0L9&lt;/P&gt;&lt;P&gt;902-450-1700, x278&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 16:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668175#M8857</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-30T16:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668176#M8858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to separate my specific functions in there own folders. It keeps things neat!&lt;/P&gt;&lt;P&gt;Your project folder contains a source folder and a Includes folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source folder contains the .c files&lt;/P&gt;&lt;P&gt;Includes folder contains the .h files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like so,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20064iE4EEC85BAFB55356/image-size/large?v=v2&amp;amp;px=999" title="test.jpg" alt="test.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can create your function such as Init.c by right clicking &amp;nbsp;on the Source folder and selecting New-&amp;gt;source file and&lt;/P&gt;&lt;P&gt;the same would hold true for Includes-&amp;gt; Header&amp;nbsp;File, &amp;nbsp;but right click on the Includes file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like so,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20093iFF67F59452199B5B/image-size/large?v=v2&amp;amp;px=999" title="test2.jpg" alt="test2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 17:21:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668176#M8858</guid>
      <dc:creator>neilporven</dc:creator>
      <dc:date>2017-05-30T17:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668177#M8859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. I tried what you suggested, but I get the following error. What does this mean?&lt;/P&gt;&lt;P&gt;That "sources" directory is sort of virtual since I don't see it anywhere in my folder explorer window. The main.ca file sits outside of a bunch of other directories that look nothing like what KDS shows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19490i35307CBC89EEDEF2/image-size/large?v=v2&amp;amp;px=999" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 20:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668177#M8859</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-30T20:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668178#M8860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eclipse contains its own file system. It means files in the Eclipse Project Explorer does not need to be in the same directories as they are displayed. "virtual folder" means, it is not a real folder on the disk, the folder represents only "named location" that contains links to project source files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally I'd recommend to avoid "virtual folders" in your project due to following reasons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you can easily review the project content on the disk and in the Project Explorer, both contains&amp;nbsp;the same files&lt;/LI&gt;&lt;LI&gt;you can easily backup or&amp;nbsp;share your project (or put to Git), because&amp;nbsp;all source files are in the project folder&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 06:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668178#M8860</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2017-05-31T06:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668179#M8861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sara,&lt;/P&gt;&lt;P&gt;1. Please add the path of header files into Include paths as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20823i4B7E4E5CE0336B0E/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If still can't work well,&amp;nbsp; you can share your project , then I will help you&amp;nbsp; check it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 07:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668179#M8861</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-05-31T07:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668180#M8862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried what you suggested, but it did not fix the problem. I’m not sure what you mean by “share the project”. I have instead zipped the directory and attached it here. All the functions that I want to use are with the “main.c” program in the Sara_Tiny_Tag_Devel_Board directory (core_clock_init.c, ports_init.c, etc…) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.&lt;/P&gt;&lt;P&gt;Senior Hardware Designer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20 Angus Morton Dr., Bedford,&lt;/P&gt;&lt;P&gt;NS, Canada, B4B 0L9&lt;/P&gt;&lt;P&gt;902-450-1700, x278&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:08:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668180#M8862</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-31T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668181#M8863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I avoid using the virtual folders…the software automatically sets them up! I too would prefer not to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.&lt;/P&gt;&lt;P&gt;Senior Hardware Designer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20 Angus Morton Dr., Bedford,&lt;/P&gt;&lt;P&gt;NS, Canada, B4B 0L9&lt;/P&gt;&lt;P&gt;902-450-1700, x278&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:09:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668181#M8863</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-31T12:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668182#M8864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;can you describe how do you create your project?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668182#M8864</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2017-05-31T12:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668183#M8865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the KSDK Project Generator and then import the project into the Kinetic Design Studio. It sets up all the folders for me…all I do is open the main.c and start entering code. All was fine until I decided that I wanted to have external functions called from within main.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Attached is my project folder set-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.&lt;/P&gt;&lt;P&gt;Senior Hardware Designer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20 Angus Morton Dr., Bedford,&lt;/P&gt;&lt;P&gt;NS, Canada, B4B 0L9&lt;/P&gt;&lt;P&gt;902-450-1700, x278&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:17:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668183#M8865</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-31T12:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668184#M8866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;there is option "Standalone project" in KSDK Project generator. Ensure the check-box is selected before you generate project. Also ensure you are using latest version of the KSDK Project Generator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I'm not sure if the option works also for SDK1.3. It definely works for SDK 2.0 packages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In KDS 3.2, it is possible to create new project using the following wizards:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;File - New - Kinetis SDK 1.x Project&lt;/LI&gt;&lt;LI&gt;File - New - Kinetis SDK 2.x Project&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Both of them should be capable to create standalone projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:29:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668184#M8866</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2017-05-31T12:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668185#M8867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok. I will do that going forward. How do I fix what I have now so that I can get my external functions to work with main.c?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.&lt;/P&gt;&lt;P&gt;Senior Hardware Designer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20 Angus Morton Dr., Bedford,&lt;/P&gt;&lt;P&gt;NS, Canada, B4B 0L9&lt;/P&gt;&lt;P&gt;902-450-1700, x278&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668185#M8867</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-31T12:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668186#M8868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;I'd recommend to create new project and move the modified sources into new project.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:40:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668186#M8868</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2017-05-31T12:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668187#M8869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok…so I created a standalone project and imported it into KDS. Nothing appears to be different though…still have virtual folders and no way to get them to recognize my functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was I not supposed to import  the project into KDS? If so, what was I supposed to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.&lt;/P&gt;&lt;P&gt;Senior Hardware Designer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20 Angus Morton Dr., Bedford,&lt;/P&gt;&lt;P&gt;NS, Canada, B4B 0L9&lt;/P&gt;&lt;P&gt;902-450-1700, x278&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668187#M8869</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-05-31T12:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668188#M8870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;when you generate standalone project from KSDK Project Generator, can you generate the project directly into KDS workspace?&amp;nbsp; If not, ensure, you have used option "Copy projects into workspace" - see attached screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create project in KDS suing wizard, it is created directly in the workspace and you do not need to import.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 13:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668188#M8870</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2017-05-31T13:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668189#M8871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sara,&lt;/P&gt;&lt;P&gt;- For the KSDKv1.3 always make us confused about the lib and header files path,&lt;/P&gt;&lt;P&gt;and I have check your project , there is many functions and files can't find in your project.&lt;/P&gt;&lt;P&gt;So I strongly recommend you use the latest version of KSDKv2.x ( It is also named MCUXpresso SDK).&lt;/P&gt;&lt;P&gt;In KSDKv2.x, you needn't consider the ksdk_platform.a , and it can automatically includes the drivers (.c and .h).&lt;/P&gt;&lt;P&gt;if you want add some other files made by yourself, just add the .c and .h, include the path as I mentioned last time.&lt;/P&gt;&lt;P&gt;- Below is the steps about how to use KSDKv2.x on KDS3.x :&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1. Please download the KSDK v2.x package for you board or chip refer to this tutorial :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-333304"&gt;Generating a downloadable MCUXpresso SDK v.2 package&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Then refer to this tutorial to create new project (Do not use project generator )or import KSDK example on KDSv3.x:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329662"&gt;Using Kinetis Design Studio v3.x with Kinetis SDK v2.0&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Then you can call the function under "SDK_2.2_FRDM-KL03Z\devices\MKL03Z4\drivers",&lt;/P&gt;&lt;P&gt;or add your own files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 08:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668189#M8871</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-01T08:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668190#M8872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok. A couple questions before I begin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1.  Will upgrading the KSDK cause all my previous files not to work?&lt;/P&gt;&lt;P&gt;  2.  When I follow the link, I note that the configuration is specific to either the evaluation board or the chipset. Is there a big difference between the two? I assume that the one related to the evaluation board has lots of header files related to the board whereas the chip will not?&lt;/P&gt;&lt;P&gt;  3.  Once I have downloaded the .mex files…what do I do?  It’s not clear from your email. Is there where I go into KDS and follow the instructions on the second link? They don’t seem to line up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sara Stout-Grandy, M.Eng., Ph.D., P.Eng.&lt;/P&gt;&lt;P&gt;Senior Hardware Designer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20 Angus Morton Dr., Bedford,&lt;/P&gt;&lt;P&gt;NS, Canada, B4B 0L9&lt;/P&gt;&lt;P&gt;902-450-1700, x278&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 12:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668190#M8872</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-06-01T12:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668191#M8873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sara,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;After update KSDKV2.0,&amp;nbsp; your KSDKv1.3 project can also work well on KDS.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;While there is some difference between KSDKv1.3 and KSDKv2.0 ,&amp;nbsp; we can't directly copy the&lt;/P&gt;&lt;P&gt;KSDKv1.3 code to KDSKv2.0 project .&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;There isn't big difference , yes, the board package includes the board information files .&lt;/LI&gt;&lt;LI&gt;You need download the .zip folder , not the .mem files, after you click&amp;nbsp; "I Agree ". please wait some minutes, it will show the download package .&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;About&amp;nbsp; the second link , please read from&lt;/P&gt;&lt;H1&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;“Installing Kinetis SDK v2.0 New Project Wizard in Kinetis Design Studio”&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;,&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;It detailly described how to use KSDKv2.0 on KDS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 04:16:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668191#M8873</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-02T04:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 on KDS: Linking C Functions?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668192#M8874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to conclude this thread, I managed to get my code to work with the external functions without having to upgrade. It also turned out that I already have SDK2.0 installed.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KL03-on-KDS-Linking-C-Functions/m-p/668192#M8874</guid>
      <dc:creator>sarastout-grand</dc:creator>
      <dc:date>2017-06-06T13:38:39Z</dc:date>
    </item>
  </channel>
</rss>

