<?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>MQX Software SolutionsのトピックHow To: Get Started with MQX RTOS for Kinetis SDK v1.1</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-To-Get-Started-with-MQX-RTOS-for-Kinetis-SDK-v1-1/m-p/349262#M11261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="margin: 12pt 0 0; font-size: 16pt; font-family: 'Calibri Light', sans-serif; color: #2e74b5; font-weight: normal;"&gt;Getting Started with MQX RTOS for Kinetis SDK: Building Libraries and Examples&lt;/H1&gt;&lt;H2 style="margin: 2pt 0 0; font-size: 13pt; font-family: 'Calibri Light', sans-serif; color: #2e74b5; font-weight: normal;"&gt; &lt;/H2&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Ready to check out MQX RTOS example applications within the new Kintetis SDK-based architecture? &lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Don’t worry, its easy!&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&amp;nbsp; MQX RTOS for Kinetis SDK comes with many working examples that are easy to build and try out. &lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Note: If it seems like a tortuous process to build an example, then you might need to back up and check to be sure you followed the basic steps.&amp;nbsp; These are all documented in getting started guides, one for each supported toolchain.&amp;nbsp; See below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Okay, let’s do it.&amp;nbsp;&amp;nbsp; I’m going to show a shortened version of the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;Getting Started Guide for Kinetis Design Studio IDE&lt;/A&gt; using &lt;A href="http://www.freescale.com/frdm-k64f" style="color: #954f72; text-decoration: underline;"&gt;FRDM-K64F&lt;/A&gt;, but this should be very similar for other toolchains and boards.&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;STRONG style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Basic Steps&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Install a supported toolchain if you don’t already have one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.25in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; text-indent: 0.25in; background: white;"&gt;&lt;EM style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;For Kinetis SDK v1.1, these are:&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Kinetis Development Studio version 2.0.0&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;IAR Embedded Workbench for ARM® Version 7.20.2&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;ARM-MDK - Keil® μVision® version 5.11.0&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Atollic® TrueSTUDIO® for ARM version 5.2.0&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Cmake version 3.0 support for GCC compiler revision 4.8.3 2014q2 from ARM Embedded&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;This information is also in the MQX release notes at &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXKSDK110RN.pdf?fpsp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX RTOS for Kinetis SDK v1.1 Release Notes&lt;/A&gt; (along with other good information).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: windowtext; font-size: 11pt; text-decoration: underline; font-family: Calibri, sans-serif;"&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Download Kinetis SDK v1.1.0 with MQX RTOS at &lt;/SPAN&gt;&lt;A href="http://www.freescale.com/ksdk" style="color: #954f72; text-decoration: underline;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/www.freescale.com/ksdk" target="test_blank"&gt;www.freescale.com/ksdk&lt;/A&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;IMPORTANT NOTE:&amp;nbsp; As of Kinetis SDK v1.1, MQX RTOS is now available in the Kinetis SDK installer.&amp;nbsp; It is NOT a separate download.&amp;nbsp; If you want to create a MQX RTOS-based project, then use the version of MQX RTOS that comes in Kinetis SDK v1.1 (or later).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Click Download.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image001.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18015iCDD39823CC67F517/image-size/large?v=v2&amp;amp;px=999" role="button" title="image001.png" alt="image001.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Choose the appropriate Kinetis SDK v1.1.0 installer for your operating system, then download and install it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image002.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18016iFD8FF9B72691B6D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image002.png" alt="image002.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Grab the MQX Getting Started Guide for your selected toolchain&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; text-indent: 0.25in; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;These are available within the KSDK source tree at &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Calibri, sans-serif;"&gt;&amp;lt;Kinetis SDK&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16pt; font-family: Calibri, sans-serif;"&gt;\rtos\mqx\doc\tools&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;, or &lt;STRONG&gt;online&lt;/STRONG&gt; at the links below.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; text-indent: 0.25in; background: white;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Note: &amp;lt;Kinetis SDK&amp;gt; is my notation for the directory that you installed the Kinetis SDK.&amp;nbsp; On Windows, the default directory is C:\Freescale\KSDK_1.1.0\)&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;Links to the guides:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for Kinetis Design Studio IDE&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSIARUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for IAR Embedded Workbench&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKEILUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for MDK-ARM Keil μVision4&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSATLUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for Atollic TrueSTUDIO for ARM&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSARMGCCUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for ARM GCC&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Also you might want to check out the general Getting Started Guide for additional details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXKSDKGSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;Getting Started with Freescale MQX™ RTOS for Kinetis SDK - User's Guide&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;For Kinetis Design Studio v2.0, the steps continue like this:&lt;/P&gt;&lt;P&gt;4. Install the Eclipse updates and plugins for Kinetis Design Studio as described in section 2 of the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Guide for Kinetis Design Studio IDE&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Import an example project working set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Go to &lt;STRONG&gt;File… Import&lt;/STRONG&gt;, …&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image003.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18031i92DB069A98257874/image-size/large?v=v2&amp;amp;px=999" role="button" title="image003.png" alt="image003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Then expand the&lt;STRONG&gt; MQX&lt;/STRONG&gt; category (in the future this is planned to be called “Project of Projects”), then choose&lt;STRONG&gt; Import Working Sets&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image004.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48397i27AFC46D67875D2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image004.png" alt="image004.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;IMPORTANT NOTE:&amp;nbsp; Be sure to import the &lt;EM&gt;working set&lt;/EM&gt;, not an individual project.&amp;nbsp; Every example comes with a working set file that has all the library projects required by the application project.&amp;nbsp; Everything you need will get conveniently imported to your workspace – so use the working sets!&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; &lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;In the next window, click &lt;STRONG&gt;Browse.&amp;nbsp; &lt;/STRONG&gt;Find the MQX examples in the&lt;STRONG&gt; MQX examples folder!&amp;nbsp; &lt;/STRONG&gt;This is in&lt;STRONG&gt; &amp;lt;Kinetis SDK&amp;gt;\rtos\mqx\mqx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image005.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18032i8BC1EF1F8CFE7E3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image005.png" alt="image005.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;In this case I am opening the hello world example for FRDM-K64F.&amp;nbsp; The full path to the working set file is at:&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt;C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples\hello\build\kds\hello_frdmk64f&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image006.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48213iB38337863BA5CDE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image006.png" alt="image006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Click &lt;STRONG&gt;Finish.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image007.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48569iEE4BB7742538313E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image007.png" alt="image007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Now you will have the application project and all the library projects used by the application imported into your workspace.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em; text-indent: 0.5in;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image008.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18033iCAE3C71364C0BECB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image008.png" alt="image008.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em; text-indent: 0.5in;"&gt;6. Now build the projects!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Go to &lt;STRONG&gt;Project&lt;/STRONG&gt;…&lt;STRONG&gt;Build All&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Note: the default target build configuration (called “debug”) does not have all possible compiler optimizations enabled.&amp;nbsp;&amp;nbsp; This makes debugging code easier, but results in larger code size.&amp;nbsp; So, if you are looking for small code size, set it up for the “Release” target config as noted in the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Guide for Kinetis Design Studio IDE&lt;/A&gt;.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image009.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47455i6662823D10F7E2AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image009.png" alt="image009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;The projects will now start to build. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image010.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47457iD4B7562EB98220B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image010.png" alt="image010.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Wait until the build is complete.&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image011.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48570i13F4E5EBB67CD5E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image011.png" alt="image011.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Now run the example application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Make sure the target board is plugged in to the USB for the debug connection.&amp;nbsp; (Marked “SDA USB” on FRDM-K64F).&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Select the &lt;STRONG&gt;hello_frdmk64f &lt;/STRONG&gt;project, and click on the &lt;EM&gt;arrow&lt;/EM&gt; next to the image of the Bug and select Debug Configurations&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image012.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48918iD6BB34F820AA31BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image012.png" alt="image012.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Choose the debug connection programmed in your board’s debug firmware.&amp;nbsp; (Default for FRDM-K64F is GDB Open OCD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image013.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48973iFD3CED276FF63AE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image013.png" alt="image013.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Select the debug target debug configuration (if you build with the default setup, or release if you switched to the release configuration)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image014.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49025iA9E19CC875197F6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image014.png" alt="image014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Choose &lt;STRONG&gt;Debug&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image015.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49026i03277DC3B53558CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image015.png" alt="image015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Wait while the download fully completes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image016.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48883i626DBD5EA9222679/image-size/large?v=v2&amp;amp;px=999" role="button" title="image016.png" alt="image016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;When the download is finished, the IDE will then switch to the debug view and stop at the mqx rtos main function.&amp;nbsp; Click the Resume button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image017.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47460iFD1875C0F347B84E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image017.png" alt="image017.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Open up the terminal program of your choice.&amp;nbsp; Select the COM port provided by the board.&amp;nbsp; For the default debug firmware (cmsis-dap) it will enumerate as &lt;STRONG&gt;mbed Serial Port (COM:xx)&lt;/STRONG&gt;.&amp;nbsp; Select&lt;STRONG&gt; 115200&lt;/STRONG&gt; baud rate. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image018.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48152i9EB4B96AF7E12448/image-size/large?v=v2&amp;amp;px=999" role="button" title="image018.png" alt="image018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;You’re done! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;But wait, there is more!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Be aware that several examples demonstrate non-core features of MQX RTOS that are not enabled in the MQX library by default.&amp;nbsp; To build and run these demos, you need to enable the feature to be compiled into the MQX library. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;For example, if you import the semaphore example from &lt;STRONG&gt;C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples\sem\build\kds\sem_frdmk64f &lt;/STRONG&gt; &lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image019.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47462i810137B057E726BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image019.png" alt="image019.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Note: &lt;STRONG&gt;sem&lt;/STRONG&gt; is the full-featured semaphore with advanced options like priority inheritance – not to be confused with lightweight semaphores &lt;EM&gt;lwsem&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Then try to build it.&amp;nbsp; You will get this result.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image020.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47464i1BB8E60F26826F59/image-size/large?v=v2&amp;amp;px=999" role="button" title="image020.png" alt="image020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Read carefully and it tells you this:&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Consolas;"&gt;#error SEMAPHORE component is currently disabled in MQX kernel. Please set MQX_USE_SEMAPHORES to 1 in mqx_sdk_config.h and recompile kernel.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;To enable semaphores, open the &lt;STRONG&gt;MQX library&lt;/STRONG&gt; project and expand &lt;STRONG&gt;Config_Files&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 15px;"&gt;Open&lt;/SPAN&gt;&lt;STRONG style="color: #000000; font-family: Calibri, sans-serif; font-size: 15px;"&gt; mqx_sdk_config.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image021.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48885i155EE2359DF34469/image-size/large?v=v2&amp;amp;px=999" role="button" title="image021.png" alt="image021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Add the line:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-bottom: 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG style="font-family: 'Courier New';"&gt;#define&amp;nbsp; MQX_USE_SEMAPHORES&amp;nbsp;&amp;nbsp; 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image022.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47465i8B6FFB9B65FEF2B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image022.png" alt="image022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;Now &lt;STRONG&gt;build the MQX library&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Then &lt;STRONG&gt;build your application project &lt;/STRONG&gt;(sem_frdmk64f) again.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image023.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47466i02C9032C94A70C4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image023.png" alt="image023.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Success! &lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Note: This entire process is very similar for RTCS examples (MQX TCP/IP stack)!&amp;nbsp; You will find these at &lt;SPAN style="font-size: 12pt;"&gt;&amp;lt;Kinetis SDK&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16pt;"&gt;\tcpip\rtcs\examples&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Best of luck with your development projects.&amp;nbsp; Please send me your feedback.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Thanks,&lt;BR /&gt;Mac Lobdell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 21:27:31 GMT</pubDate>
    <dc:creator>macl</dc:creator>
    <dc:date>2015-01-15T21:27:31Z</dc:date>
    <item>
      <title>How To: Get Started with MQX RTOS for Kinetis SDK v1.1</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-To-Get-Started-with-MQX-RTOS-for-Kinetis-SDK-v1-1/m-p/349262#M11261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="margin: 12pt 0 0; font-size: 16pt; font-family: 'Calibri Light', sans-serif; color: #2e74b5; font-weight: normal;"&gt;Getting Started with MQX RTOS for Kinetis SDK: Building Libraries and Examples&lt;/H1&gt;&lt;H2 style="margin: 2pt 0 0; font-size: 13pt; font-family: 'Calibri Light', sans-serif; color: #2e74b5; font-weight: normal;"&gt; &lt;/H2&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Ready to check out MQX RTOS example applications within the new Kintetis SDK-based architecture? &lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Don’t worry, its easy!&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&amp;nbsp; MQX RTOS for Kinetis SDK comes with many working examples that are easy to build and try out. &lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Note: If it seems like a tortuous process to build an example, then you might need to back up and check to be sure you followed the basic steps.&amp;nbsp; These are all documented in getting started guides, one for each supported toolchain.&amp;nbsp; See below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Okay, let’s do it.&amp;nbsp;&amp;nbsp; I’m going to show a shortened version of the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;Getting Started Guide for Kinetis Design Studio IDE&lt;/A&gt; using &lt;A href="http://www.freescale.com/frdm-k64f" style="color: #954f72; text-decoration: underline;"&gt;FRDM-K64F&lt;/A&gt;, but this should be very similar for other toolchains and boards.&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;STRONG style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Basic Steps&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Install a supported toolchain if you don’t already have one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.25in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; text-indent: 0.25in; background: white;"&gt;&lt;EM style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;For Kinetis SDK v1.1, these are:&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Kinetis Development Studio version 2.0.0&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;IAR Embedded Workbench for ARM® Version 7.20.2&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;ARM-MDK - Keil® μVision® version 5.11.0&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Atollic® TrueSTUDIO® for ARM version 5.2.0&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Cmake version 3.0 support for GCC compiler revision 4.8.3 2014q2 from ARM Embedded&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;This information is also in the MQX release notes at &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXKSDK110RN.pdf?fpsp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX RTOS for Kinetis SDK v1.1 Release Notes&lt;/A&gt; (along with other good information).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: windowtext; font-size: 11pt; text-decoration: underline; font-family: Calibri, sans-serif;"&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Download Kinetis SDK v1.1.0 with MQX RTOS at &lt;/SPAN&gt;&lt;A href="http://www.freescale.com/ksdk" style="color: #954f72; text-decoration: underline;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/www.freescale.com/ksdk" target="test_blank"&gt;www.freescale.com/ksdk&lt;/A&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;IMPORTANT NOTE:&amp;nbsp; As of Kinetis SDK v1.1, MQX RTOS is now available in the Kinetis SDK installer.&amp;nbsp; It is NOT a separate download.&amp;nbsp; If you want to create a MQX RTOS-based project, then use the version of MQX RTOS that comes in Kinetis SDK v1.1 (or later).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Click Download.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image001.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18015iCDD39823CC67F517/image-size/large?v=v2&amp;amp;px=999" role="button" title="image001.png" alt="image001.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Choose the appropriate Kinetis SDK v1.1.0 installer for your operating system, then download and install it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image002.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18016iFD8FF9B72691B6D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image002.png" alt="image002.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Grab the MQX Getting Started Guide for your selected toolchain&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; text-indent: 0.25in; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;These are available within the KSDK source tree at &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Calibri, sans-serif;"&gt;&amp;lt;Kinetis SDK&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16pt; font-family: Calibri, sans-serif;"&gt;\rtos\mqx\doc\tools&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;, or &lt;STRONG&gt;online&lt;/STRONG&gt; at the links below.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="font-size: medium; font-family: 'Times New Roman', serif; color: #000000; text-indent: 0.25in; background: white;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Note: &amp;lt;Kinetis SDK&amp;gt; is my notation for the directory that you installed the Kinetis SDK.&amp;nbsp; On Windows, the default directory is C:\Freescale\KSDK_1.1.0\)&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;Links to the guides:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for Kinetis Design Studio IDE&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSIARUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for IAR Embedded Workbench&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKEILUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for MDK-ARM Keil μVision4&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSATLUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for Atollic TrueSTUDIO for ARM&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSARMGCCUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Getting Started Guide for ARM GCC&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Also you might want to check out the general Getting Started Guide for additional details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #51626f;"&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXKSDKGSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;Getting Started with Freescale MQX™ RTOS for Kinetis SDK - User's Guide&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;For Kinetis Design Studio v2.0, the steps continue like this:&lt;/P&gt;&lt;P&gt;4. Install the Eclipse updates and plugins for Kinetis Design Studio as described in section 2 of the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Guide for Kinetis Design Studio IDE&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Import an example project working set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Go to &lt;STRONG&gt;File… Import&lt;/STRONG&gt;, …&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image003.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18031i92DB069A98257874/image-size/large?v=v2&amp;amp;px=999" role="button" title="image003.png" alt="image003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Then expand the&lt;STRONG&gt; MQX&lt;/STRONG&gt; category (in the future this is planned to be called “Project of Projects”), then choose&lt;STRONG&gt; Import Working Sets&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image004.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48397i27AFC46D67875D2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image004.png" alt="image004.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;IMPORTANT NOTE:&amp;nbsp; Be sure to import the &lt;EM&gt;working set&lt;/EM&gt;, not an individual project.&amp;nbsp; Every example comes with a working set file that has all the library projects required by the application project.&amp;nbsp; Everything you need will get conveniently imported to your workspace – so use the working sets!&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; &lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;In the next window, click &lt;STRONG&gt;Browse.&amp;nbsp; &lt;/STRONG&gt;Find the MQX examples in the&lt;STRONG&gt; MQX examples folder!&amp;nbsp; &lt;/STRONG&gt;This is in&lt;STRONG&gt; &amp;lt;Kinetis SDK&amp;gt;\rtos\mqx\mqx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image005.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18032i8BC1EF1F8CFE7E3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image005.png" alt="image005.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;In this case I am opening the hello world example for FRDM-K64F.&amp;nbsp; The full path to the working set file is at:&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt;C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples\hello\build\kds\hello_frdmk64f&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image006.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48213iB38337863BA5CDE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image006.png" alt="image006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Click &lt;STRONG&gt;Finish.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image007.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48569iEE4BB7742538313E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image007.png" alt="image007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Now you will have the application project and all the library projects used by the application imported into your workspace.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em; text-indent: 0.5in;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image008.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18033iCAE3C71364C0BECB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image008.png" alt="image008.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em; text-indent: 0.5in;"&gt;6. Now build the projects!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Go to &lt;STRONG&gt;Project&lt;/STRONG&gt;…&lt;STRONG&gt;Build All&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Note: the default target build configuration (called “debug”) does not have all possible compiler optimizations enabled.&amp;nbsp;&amp;nbsp; This makes debugging code easier, but results in larger code size.&amp;nbsp; So, if you are looking for small code size, set it up for the “Release” target config as noted in the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDKGSKDSUG.pdf?fpsp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" style="color: #954f72; text-decoration: underline;"&gt;MQX Guide for Kinetis Design Studio IDE&lt;/A&gt;.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image009.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47455i6662823D10F7E2AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image009.png" alt="image009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;The projects will now start to build. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image010.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47457iD4B7562EB98220B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image010.png" alt="image010.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Wait until the build is complete.&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image011.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48570i13F4E5EBB67CD5E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image011.png" alt="image011.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Now run the example application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Make sure the target board is plugged in to the USB for the debug connection.&amp;nbsp; (Marked “SDA USB” on FRDM-K64F).&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Select the &lt;STRONG&gt;hello_frdmk64f &lt;/STRONG&gt;project, and click on the &lt;EM&gt;arrow&lt;/EM&gt; next to the image of the Bug and select Debug Configurations&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image012.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48918iD6BB34F820AA31BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image012.png" alt="image012.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Choose the debug connection programmed in your board’s debug firmware.&amp;nbsp; (Default for FRDM-K64F is GDB Open OCD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image013.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48973iFD3CED276FF63AE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image013.png" alt="image013.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Select the debug target debug configuration (if you build with the default setup, or release if you switched to the release configuration)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23"&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image014.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49025iA9E19CC875197F6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image014.png" alt="image014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Choose &lt;STRONG&gt;Debug&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image015.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49026i03277DC3B53558CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image015.png" alt="image015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Wait while the download fully completes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image016.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48883i626DBD5EA9222679/image-size/large?v=v2&amp;amp;px=999" role="button" title="image016.png" alt="image016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;When the download is finished, the IDE will then switch to the debug view and stop at the mqx rtos main function.&amp;nbsp; Click the Resume button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image017.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47460iFD1875C0F347B84E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image017.png" alt="image017.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paragraphstyle23" style="margin: 0 0 0 0.5in; font-size: medium; font-family: 'Times New Roman', serif; color: #000000; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Open up the terminal program of your choice.&amp;nbsp; Select the COM port provided by the board.&amp;nbsp; For the default debug firmware (cmsis-dap) it will enumerate as &lt;STRONG&gt;mbed Serial Port (COM:xx)&lt;/STRONG&gt;.&amp;nbsp; Select&lt;STRONG&gt; 115200&lt;/STRONG&gt; baud rate. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image018.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48152i9EB4B96AF7E12448/image-size/large?v=v2&amp;amp;px=999" role="button" title="image018.png" alt="image018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;You’re done! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;SPAN style="font-size: 11pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;But wait, there is more!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Be aware that several examples demonstrate non-core features of MQX RTOS that are not enabled in the MQX library by default.&amp;nbsp; To build and run these demos, you need to enable the feature to be compiled into the MQX library. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;For example, if you import the semaphore example from &lt;STRONG&gt;C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples\sem\build\kds\sem_frdmk64f &lt;/STRONG&gt; &lt;/P&gt;&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image019.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47462i810137B057E726BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image019.png" alt="image019.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="margin: 0 0 0 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Note: &lt;STRONG&gt;sem&lt;/STRONG&gt; is the full-featured semaphore with advanced options like priority inheritance – not to be confused with lightweight semaphores &lt;EM&gt;lwsem&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Then try to build it.&amp;nbsp; You will get this result.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image020.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47464i1BB8E60F26826F59/image-size/large?v=v2&amp;amp;px=999" role="button" title="image020.png" alt="image020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;Read carefully and it tells you this:&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000; text-indent: 0.5in;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Consolas;"&gt;#error SEMAPHORE component is currently disabled in MQX kernel. Please set MQX_USE_SEMAPHORES to 1 in mqx_sdk_config.h and recompile kernel.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;To enable semaphores, open the &lt;STRONG&gt;MQX library&lt;/STRONG&gt; project and expand &lt;STRONG&gt;Config_Files&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 15px;"&gt;Open&lt;/SPAN&gt;&lt;STRONG style="color: #000000; font-family: Calibri, sans-serif; font-size: 15px;"&gt; mqx_sdk_config.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image021.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48885i155EE2359DF34469/image-size/large?v=v2&amp;amp;px=999" role="button" title="image021.png" alt="image021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Add the line:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-bottom: 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG style="font-family: 'Courier New';"&gt;#define&amp;nbsp; MQX_USE_SEMAPHORES&amp;nbsp;&amp;nbsp; 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="image022.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47465i8B6FFB9B65FEF2B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image022.png" alt="image022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;Now &lt;STRONG&gt;build the MQX library&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Then &lt;STRONG&gt;build your application project &lt;/STRONG&gt;(sem_frdmk64f) again.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image023.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47466i02C9032C94A70C4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image023.png" alt="image023.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Success! &lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Note: This entire process is very similar for RTCS examples (MQX TCP/IP stack)!&amp;nbsp; You will find these at &lt;SPAN style="font-size: 12pt;"&gt;&amp;lt;Kinetis SDK&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16pt;"&gt;\tcpip\rtcs\examples&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Best of luck with your development projects.&amp;nbsp; Please send me your feedback.&lt;/P&gt;&lt;P style="margin: 0 0 8pt; font-size: 11pt; font-family: Calibri, sans-serif; color: #000000;"&gt;Thanks,&lt;BR /&gt;Mac Lobdell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 21:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-To-Get-Started-with-MQX-RTOS-for-Kinetis-SDK-v1-1/m-p/349262#M11261</guid>
      <dc:creator>macl</dc:creator>
      <dc:date>2015-01-15T21:27:31Z</dc:date>
    </item>
  </channel>
</rss>

