<?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: KW2xD SMAC projects available for KDS? in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471121#M820</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;Unfortunately, there is not information available about it yet. As you can see in the post in the link below, there is no way to support our stacks in KDS by now.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/383969"&gt;How can I obtain 802.15.4 protocol stack gcc library or source for MCR20A and KW2x?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have attached the compiled connectivity test for the usbkw24d512 which I think will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl Ramírez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2016 23:09:59 GMT</pubDate>
    <dc:creator>EarlOrlando</dc:creator>
    <dc:date>2016-01-29T23:09:59Z</dc:date>
    <item>
      <title>KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471120#M819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for KDS wireless connectivity projects (specifically ZigBee) to get started with a KW2x chip, but they are all built for IAR.&amp;nbsp; It seems that there are options to port code from CodeWarrior into KDS, and I can export code from KDS into IAR, but I haven't found a clear path to import IAR projects into KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Nov 25th post suggests that the connectivity projects will eventually be supported in KDS, so I'm curious about that status?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/594339"&gt;Re: Beekit for KDS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone knows how to convert or import an IAR project into KDS, that's also an option.&amp;nbsp; I need some kind of starting point, and I have a usbkw24d512 board, so I was hoping to use the 'Connectivity_Test', located in: Freescale\KW2xD_SMAC\app\ieee_802_15_4\Connectivity_Test\usbkw24d512\build\iar\&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 17:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471120#M819</guid>
      <dc:creator>calebrust</dc:creator>
      <dc:date>2016-01-28T17:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471121#M820</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;Unfortunately, there is not information available about it yet. As you can see in the post in the link below, there is no way to support our stacks in KDS by now.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/383969"&gt;How can I obtain 802.15.4 protocol stack gcc library or source for MCR20A and KW2x?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have attached the compiled connectivity test for the usbkw24d512 which I think will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl Ramírez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 23:09:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471121#M820</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2016-01-29T23:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471122#M821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the .srec file, it might be useful for some preliminary testing.&amp;nbsp; Unfortunately, I still need source code for the 802.15.4 stack to use in KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/383969"&gt;How can I obtain 802.15.4 protocol stack gcc library or source for MCR20A and KW2x?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;"I think that migrate the code and have complete compatibility will be impossible."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Are you saying that there's no 802.15.4 source code, or at least no way to compile the source code for the KW2x with Kinetis Design Studio &amp;amp; gcc?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/533956"&gt;MCR20A source migration from IAR to KDS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Sunil Singh disagrees, saying:&lt;/P&gt;&lt;P&gt;"We used&amp;nbsp; KDS 3.0 and KSDK 1.2.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;We did't link \ieee_802_15_4\Lib\Freescale_802.15.4_MAC_06_M4_IAR.a&amp;nbsp; and&amp;nbsp; it is not required."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to do what Sunil Singh did, and integrate the 802.15.4 stack into my codebase, but I'm new to this and I haven't gotten it to compile. I've spent hours adding include paths, and expanding the source tree, but still haven't finished.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Eclipse only reports the first include that prevents the build, so I have to include 1 file/directory per attempt&lt;/P&gt;&lt;P&gt;2. Eclipse parses the files and returns errors on every included header file that it can't find, even if the functions aren't called/used. (so I might be including files I don't technically need)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 20:09:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471122#M821</guid>
      <dc:creator>calebrust</dc:creator>
      <dc:date>2016-02-02T20:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471123#M822</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 am sorry but the 802.15.4 stack is only delivered as library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This stack &lt;SPAN style="text-decoration: underline;"&gt;without the Kinetis SDK support&lt;/SPAN&gt; is not supported on KDS, but in CodeWarrior, so you could give a try in exporting the BeeKit projects from CodeWarrior into KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are interested in the 802.15.4 stack with the Kinetis SDK support your only option is IAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only need to enable your board without the stack, you could use any Kinetis SDK supported IDE. I think that this is the case that Sunil Singh is talking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 20:37:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471123#M822</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2016-02-02T20:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471124#M823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If you only need to enable your board without the stack, you could use any Kinetis SDK supported IDE"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;"&gt;Enable my board without the stack, meaning without ZigBee (802.15.4)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 22:13:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471124#M823</guid>
      <dc:creator>calebrust</dc:creator>
      <dc:date>2016-02-02T22:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471125#M824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to create a demo project in BeeKit("MAC Packet Error Rate Demo End Device"), and then 'Export Solution' to CodeWarrior.&amp;nbsp; The export process creates a few files, some of which I believe are compiled binaries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, I imported the project into Kinetis Design Studio by meticulously following the online guide:&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-104711"&gt;How to build BeeKit exported CodeWarrior 10.6 projects using KDS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After following the steps in that guide, the project did build successfully. :smileyhappy:&amp;nbsp; I haven't tried to incorporate anything from Processor Expert, or the Kinetis SDK yet, or integrate any other functionality, but at least I have a code base in KDS that might be able to transmit data via the MCR20A and KW2x.&amp;nbsp; No idea if I can use freeRTOS at this point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 23:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471125#M824</guid>
      <dc:creator>calebrust</dc:creator>
      <dc:date>2016-02-02T23:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471126#M825</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 mean without the NXP 802.15.4 Stack, i.e. only the MCU and its peripherals as any non-KW Kinetis Device. You are able to use the radio which internally is connected through a SPI instance. Honestly, I don't think that this is a suitable solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the second post, honestly I haven't tried to do what you are doing but the MAC applications include a series of drivers which can be helpful to you.&lt;/P&gt;&lt;P&gt;&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/52562i421DD384C0FDE4FD/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;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 00:55:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471126#M825</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2016-02-03T00:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471127#M826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Update] It was a dead end to build the project in BeeKit and import it into KDS because the OS BeeKit generates code for is something Freescale made up, and one requirement for this project is to use FreeRTOS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 22:20:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471127#M826</guid>
      <dc:creator>calebrust</dc:creator>
      <dc:date>2016-02-19T22:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: KW2xD SMAC projects available for KDS?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471128#M827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Update 2]&amp;nbsp; I got the ieee_802_15_4 Connectivity_Test for the usbkw24d512 to build and run in KDS!! The project is located in: &lt;BR /&gt;C:\Freescale\KW2xD_SMAC\app\ieee_802_15_4\Connectivity_Test\usbkw24d512&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps to build it were lengthy, sorry for the long post.&amp;nbsp; I basically just started a fresh c project in KDS, and included things as needed to get it all to build.&amp;nbsp; Most of the post is project settings, but there are a few minor code changes to get it to build/run.&amp;nbsp; Just to reiterate, I had to do this because the SMAC example projects were all in IAR, and I wanted to use KDS instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This process will likely be obsolete when NXP/Freescale releases their SDK v2.0 code for KW2x (expected May, 2016)Introducing Kinetis SDK v2&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;---START---&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prerequisites: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Install KDS 3.0.0&lt;/P&gt;&lt;P&gt;Install ARM gcc compiler&lt;/P&gt;&lt;P&gt;Install KSDK v1.2.0&lt;/P&gt;&lt;P&gt;Install KW2xD_SMAC&lt;/P&gt;&lt;P&gt;Jlink(or other debugger) drivers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Project Files &amp;amp; Folders&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start a new C project...&lt;/P&gt;&lt;P&gt;Name it.&lt;/P&gt;&lt;P&gt;Select Empty project&lt;/P&gt;&lt;P&gt;Select Cross ARM GCC&lt;/P&gt;&lt;P&gt;Accept defaults for the rest&lt;/P&gt;&lt;P&gt;Finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy these folders into your recently created project folder (they’re surprisingly big=199MB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Freescale\KW2xD_SMAC\app&lt;/P&gt;&lt;P&gt;C:\Freescale\KW2xD_SMAC\boards&lt;/P&gt;&lt;P&gt;C:\Freescale\KW2xD_SMAC\drv&lt;/P&gt;&lt;P&gt;C:\Freescale\KW2xD_SMAC\framework&lt;/P&gt;&lt;P&gt;C:\Freescale\KW2xD_SMAC\ieee_802_15_4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete stuff you don’t need out of your project folder.&amp;nbsp; This might be optional, depending on how mad Eclipse gets.&amp;nbsp; I deleted everything listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\app\ieee_802_15_4\Connectivity_Test\frdmkw24&lt;/P&gt;&lt;P&gt;\app\ieee_802_15_4\Connectivity_Test\twrkw21d256&lt;/P&gt;&lt;P&gt;\app\ieee_802_15_4\Connectivity_Test\twrkw24d512&lt;/P&gt;&lt;P&gt;\app\ieee_802_15_4\Connectivity_Test\usbkw24d512\build\iar&lt;/P&gt;&lt;P&gt;\app\ieee_802_15_4\Low_Power_Demo&lt;/P&gt;&lt;P&gt;\app\ieee_802_15_4\Wireless_Messenger&lt;/P&gt;&lt;P&gt;\app\ieee_802_15_4\Wireless_Uart&lt;/P&gt;&lt;P&gt;\boards\frdmkw24&lt;/P&gt;&lt;P&gt;\boards\twrkw21d256&lt;/P&gt;&lt;P&gt;\boards\twrkw24d512&lt;/P&gt;&lt;P&gt;\framework\LPM&lt;/P&gt;&lt;P&gt;\framework\OSAbstraction\Source\fsl_osa_ext_bm.c&lt;/P&gt;&lt;P&gt;\framework\OSAbstraction\Source\fsl_osa_ext_mqx.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh the project tree (F5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right-click project, select New -&amp;gt; Folder.&lt;/P&gt;&lt;P&gt;Name the folder ‘RTOS’&lt;/P&gt;&lt;P&gt;Add a sub-folder, call it ‘FreeRTOS’&lt;/P&gt;&lt;P&gt;Add another sub-folder, call it ‘Startup’&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import the .c, and .S file(s) from the folders below into the ‘FreeRTOS’ folder&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\rtos\FreeRTOS\src\(all)&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\rtos\FreeRTOS\port\gcc\(all)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import the .c, and .S file(s) from the folders below into the ‘Startup’ folder&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\platform\devices\startup.c&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\platform\devices\MKW24D5\startup\system_MKW24D5.c&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\platform\devices\MKW24D5\startup\gcc\startup_MKW24D5.S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh the project tree (F5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end, the structure should look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KDS_Connectivity_Test_DirStructure.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54052iD61ECD6DA7F2A541/image-size/large?v=v2&amp;amp;px=999" role="button" title="KDS_Connectivity_Test_DirStructure.png" alt="KDS_Connectivity_Test_DirStructure.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Project Properties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the project properties (Alt+Enter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Properties -&amp;gt; C/C++ Build -&amp;gt; Behavior -&amp;gt; Build settings&lt;/P&gt;&lt;P&gt;Un-check "Stop on first build error"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Properties -&amp;gt; C/C++ Build -&amp;gt; Environment -&amp;gt; Environment variables to set&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Name: PROJECT_LOC&lt;/P&gt;&lt;P&gt;Value: &amp;lt;your project location&amp;gt; e.g. C:\Users\crust\workspace.kds\Connectivity_Test_usbkw24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Tool Settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target Processor -&amp;gt; ARM family&lt;/P&gt;&lt;P&gt;cortex-m4&lt;/P&gt;&lt;P&gt;Target Processor -&amp;gt; Float ABI&lt;/P&gt;&lt;P&gt;Library (soft)&lt;/P&gt;&lt;P&gt;Warnings&lt;/P&gt;&lt;P&gt;Check "Enable all common warnings (-Wall)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM GNU Assembler -&amp;gt; Preprocessor -&amp;gt; Defined symbols (-D)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;DEBUG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM GNU Assembler -&amp;gt; Includes -&amp;gt; Include paths (-I)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\rtos\FreeRTOS\config\KW24D5\gcc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Compiler -&amp;gt; Preprocessor -&amp;gt; Defined symbols (-D)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add… (or just paste the whole list all at once)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;_DEBUG=1&lt;/P&gt;&lt;P&gt;CPU_MKW24D512VHA5&lt;/P&gt;&lt;P&gt;USB_KW24D512&lt;/P&gt;&lt;P&gt;CLOCK_SETUP=4&lt;/P&gt;&lt;P&gt;FSL_RTOS_FREE_RTOS&lt;/P&gt;&lt;P&gt;gSerialMgrUseUSB_c=1&lt;/P&gt;&lt;P&gt;gSerialMgrUseUart_c=1&lt;/P&gt;&lt;P&gt;gFsciIncluded_c=0&lt;/P&gt;&lt;P&gt;gSmacSupported=1&lt;/P&gt;&lt;P&gt;"PoolsDetails_c=_block_size_ 64 _number_of_blocks_ 10 _eol_ _block_size_ 128 _number_of_blocks_ 2 _eol_ _block_size_ 256 _number_of_blocks_ 10 _eol_"&lt;/P&gt;&lt;P&gt;gKBD_KeysCount_c=1&lt;/P&gt;&lt;P&gt;gLEDsOnTargetBoardCnt_c=2&lt;/P&gt;&lt;P&gt;gEepromType_d=gEepromDevice_InternalFlash_c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Compiler -&amp;gt; Includes -&amp;gt; Include paths (-I)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Add… (paste)&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\app\ieee_802_15_4\Connectivity_Test\common&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\boards\usbkw24d512&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\drv\Portable\LED\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\drv\Portable\Keyboard\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\drv\Portable\GPIO_IrqAdapter&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\drv\Portable\TMR_Adapter\&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\drv\Portable\SPI_Adapter\&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\drv\Portable\USB_VirtualCom\&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\Common&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\OSAbstraction\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\Utils\Lists&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\Utils\FunctionLib&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\Utils\SecLib&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\Utils\ModuleInfo&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\RNG\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\Panic\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\SerialManager\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\MemManager\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\TimersManager\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\TimersManager\Source&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\framework\Messaging\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\ieee_802_15_4\Source\Phy\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\ieee_802_15_4\Source\Phy\Source\MCR20A\MCR20Drv&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\ieee_802_15_4\Source\Phy\Source\XcvrSPI&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\ieee_802_15_4\Source\SMAC\Interface&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\ieee_802_15_4\Source\SMAC\Generic&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\ieee_802_15_4\Source\SMAC\Source&lt;/P&gt;&lt;P&gt;${PROJECT_LOC}\app\ieee_802_15_4\Connectivity_Test\usbkw24d512\Source&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\CMSIS\Include&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\devices\&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\devices\MKW24D5\include&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\devices\MKW24D5\startup&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\osa\inc&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\drivers\src\flash\C90TFS\drvsrc\include&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\drivers\inc&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\drivers\src\mmcau\asm-cm4&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\hal\inc&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\system\inc&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\system\src\clock\MKW24D5&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\utilities\inc&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\rtos\FreeRTOS\port\gcc&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\rtos\FreeRTOS\config\KW24D5\gcc&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\rtos\FreeRTOS\include&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\rtos\FreeRTOS\src&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\adapter\sources&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\adapter\sources\sdk&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\usb_core\include&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\usb_core\device\include&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\usb_core\device\include\usbkw24d512&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\usb_core\device\sources\classes\include&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\usb_core\device\sources\classes\include\config&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\usb_core\device\sources\classes\cdc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Compiler -&amp;gt; Optimization -&amp;gt; Language standard&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;GNU ISO C99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Linker -&amp;gt; General -&amp;gt; Script files (-T)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;“${KSDK_PATH}\platform\devices\MKW24D5\linker\gcc\MKW24D512xxx5_flash.ld”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Linker -&amp;gt; General&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Un-Check "Remove unused sections (-Xlinker --gc-sections)"&amp;nbsp; [at least until you know it’s building okay]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Linker -&amp;gt; Libraries -&amp;gt; Libraries (-I)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;&lt;P&gt;g&lt;/P&gt;&lt;P&gt;gcc&lt;/P&gt;&lt;P&gt;nosys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Linker -&amp;gt; Libraries -&amp;gt; Library search path (-L)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;“${KSDK_PATH}\platform\devices\MKW24D5\linker\gcc”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Linker -&amp;gt; Miscellaneous -&amp;gt; Other Objects&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\usb\usb_core\device\build\kds\usbd_sdk_usbkw24d512_freertos\debug\libusbd_freertos.a&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\lib\ksdk_freertos_lib\kds\KW24D5\debug\libksdk_platform_freertos.a&lt;/P&gt;&lt;P&gt;${KSDK_PATH}\platform\drivers\src\mmcau\asm-cm4\lib_mmcau.a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cross ARM C Linker -&amp;gt; Miscellaneous -&amp;gt; Other linker flags&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;-Xlinker --defsym=__ram_vector_table__=1&amp;nbsp; --specs=nano.specs&amp;nbsp; -Xlinker --defsym=__heap_size__=0x2C00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click Apply&lt;/P&gt;&lt;P&gt;Click OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Comment Stuff Out&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn’t get it to build without any changes, but there are only 2 offending code segments that seem to be unused, so I commented them out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;comment-out the AES_128_CCM function, located in:&lt;/P&gt;&lt;P&gt;\framework\Utils\SecLib\SecLib.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;uint8_t AES_128_CCM(uint8_t* pInput,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t inputLen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t* pAuthData,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t authDataLen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t* pInitVector,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t* pCounter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t* pKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t* pOutput,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t* pCbcMac,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t flags)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;#if FSL_FEATURE_SOC_LTC_COUNT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return LTC_AES128_CCM(pInput, inputLen, pAuthData, authDataLen, pInitVector, pCounter, pKey, pOutput, pCbcMac, flags);&lt;/P&gt;&lt;P&gt;#else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sw_AES128_CCM(pInput, inputLen, pAuthData, authDataLen, pInitVector, pCounter, pKey, pOutput, pCbcMac, flags);&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;}*/ //Commented per KDS build instead of IAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...as far as I can tell this function isn’t used, and I don’t know where to find the w_AES128_CCM() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;comment-out vPortEndScheduler(), located in &lt;/P&gt;&lt;P&gt;\RTOS\FreeRTOS\tasks.c&lt;/P&gt;&lt;P&gt;It’s inside the vTaskEndScheduler(void) function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void vTaskEndScheduler( void )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Stop the scheduler interrupts and call the portable scheduler end&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; routine so the original ISRs can be restored if necessary.&amp;nbsp; The port&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer must ensure interrupts enable&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bit is left in the correct state. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; portDISABLE_INTERRUPTS();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xSchedulerRunning = pdFALSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //vPortEndScheduler(); //Commented per KDS build instead of IAR&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Things shouldn’t really call the vTaskEndScheduler function...right?&amp;nbsp; I think it would stop the RTOS, so we don’t really need this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Importing Dependency Projects&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import ksdk_freertos_lib_KW24D5 project&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\lib\ksdk_freertos_lib\kds\KW24D5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import usbd_sdk_usbkw24d512_freertos project&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\usb\usb_core\device\build\kds\usbd_sdk_usbkw24d512_freertos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build both projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build the Connectivity_Test project&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally ready to actually build the Connectivity_Test project in KDS. Yay!&lt;/P&gt;&lt;P&gt;Click Build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="With print size enabled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53865i5F7E009689C8E20D/image-size/large?v=v2&amp;amp;px=999" role="button" title="With print size enabled.png" alt="With print size enabled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When you build (if it works), the size will be 143k&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go back to Cross ARM C Linker -&amp;gt; General&lt;/P&gt;&lt;P&gt;And check the box to remove unused sections (-Xlinker --gc-sections), the code is smaller (93k).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="With print size enabled2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53905i51C2BDF7E80120E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="With print size enabled2.png" alt="With print size enabled2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this project is compiled in IAR, it’s 83k, so only ~10k smaller, which is good because I read somewhere that IAR has much better optimization than gcc, but I guess it's not a huge difference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="With print size enabled3-iar.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53997iAE91089C82ABC847/image-size/large?v=v2&amp;amp;px=999" role="button" title="With print size enabled3-iar.png" alt="With print size enabled3-iar.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fixing runtime errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For unknown reasons the compiler malloc() function starts out at memory area(0x20000000), instead of (0x1FFFB000), so it runs out of memory(I think), and the program gets stuck in the default ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DefaultISR:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&amp;nbsp; DefaultISR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are probably better ways to fix this, but I just changed the memory management scheme to alloc/free.&amp;nbsp; (FreeRTOSConfig.h)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define configFRTOS_MEMORY_SCHEME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This change gets the example to run (or should).&amp;nbsp; For me, everything worked after this!!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;--END--&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A different post I read stated that it wasn't possible to build the SMAC app examples in KDS because they relied on library .a files which were only built in IAR, but it seems to me that the full Mac and Phy source is included in the KW2xD_SMAC download, which is why I attempted this process in the first place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 23:00:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW2xD-SMAC-projects-available-for-KDS/m-p/471128#M827</guid>
      <dc:creator>calebrust</dc:creator>
      <dc:date>2016-02-19T23:00:51Z</dc:date>
    </item>
  </channel>
</rss>

