<?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: KSDK Library mode in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KSDK-Library-mode/m-p/343878#M1082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, seems that I've mixed up the library specification to the linker,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 07:44:39 GMT</pubDate>
    <dc:creator>oaf</dc:creator>
    <dc:date>2015-01-20T07:44:39Z</dc:date>
    <item>
      <title>KSDK Library mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KSDK-Library-mode/m-p/343876#M1080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using KDS-2.0.0 and KSDK-1.1.0 and have some troubles. I want to link KSDK from libraries and not include the sw into my project.&lt;/P&gt;&lt;P&gt;This could be done from Project-&amp;gt;Properties-&amp;gt;Processor Expert -&amp;gt; Kinetis SDK Specific&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18636_18636.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120132i3BCD697A11261F01/image-size/large?v=v2&amp;amp;px=999" role="button" title="18636_18636.png" alt="18636_18636.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47344i78BC3B29DBFC8A34/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In KDS-1.1 I could select &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; platform_lib AND hal_lib AND startup_lib&lt;/P&gt;&lt;P&gt;Now I could select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (platform_lib OR hal_lib) AND startup_lib&lt;/P&gt;&lt;P&gt;There is no HELP available that I've found so I have selected platform_lib AND startup_lib.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any explanation regarding this choice?&lt;/P&gt;&lt;P&gt;When making my project now I got a message telling about an unneeded file:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18637_18637.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120133i5CE533A25911A9BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="18637_18637.png" alt="18637_18637.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47345i6666FEC93D2C151E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when this file is removed my project will NOT link:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18638_18638.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120134i73883B84585D6C0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="18638_18638.png" alt="18638_18638.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47346i207AC7B759B54F8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When investigating this, I've found that SystemInit() is located in the file which was presumed no longer needed.&lt;/P&gt;&lt;P&gt;Is this a bug in KDS? Or is there some additional flag that I need to set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 12:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KSDK-Library-mode/m-p/343876#M1080</guid>
      <dc:creator>oaf</dc:creator>
      <dc:date>2015-01-14T12:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK Library mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KSDK-Library-mode/m-p/343877#M1081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ole Asbjorn Fadum:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When those options are checked, Processor Expert do not handle the corresponding KSDK source files. In this case if you check the "startup_lib" option, as the message indicates the &lt;STRONG&gt;system_MK64F12.c&lt;/STRONG&gt; file is removed and you need to include the compiled startup library. For this you have to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; Import the startup library project (File -&amp;gt; Import -&amp;gt; General -&amp;gt; Existing Projects into Workspace). The project is located in: C:\Freescale\KSDK_1.1.0\lib\ksdk_startup_lib\kds\K64F12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Build the project. Then a file with name "&lt;STRONG&gt;libksdk_startup.a&lt;/STRONG&gt;" should be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; Finally include this file in the linker options of your project (Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Cross ARM C++ Linker -&amp;gt; Libraries):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Startup_library.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48921i1C2BA429143376FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Startup_library.png" alt="Startup_library.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your project should build with no errors.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Mon, 19 Jan 2015 17:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KSDK-Library-mode/m-p/343877#M1081</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-01-19T17:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK Library mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KSDK-Library-mode/m-p/343878#M1082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, seems that I've mixed up the library specification to the linker,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 07:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KSDK-Library-mode/m-p/343878#M1082</guid>
      <dc:creator>oaf</dc:creator>
      <dc:date>2015-01-20T07:44:39Z</dc:date>
    </item>
  </channel>
</rss>

