<?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 os_abstraction component +FreeRTOS in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/os-abstraction-component-FreeRTOS/m-p/440697#M2811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I have configured the ethernet pins and debug UART pins and just have the os_abstraction component configured to freeRTOS.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;When I add a project connection to the IAR and compile, I am getting an error which says me to include FreeRTOS.h before semphr.h and fortunately its been included in the only file fsl_os_abstraction_Free_rtos.h which is the only file which includes semphr.h&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;has anybody found success in using the os_abstraction component configured to freeRTOS earlier. is there anything which is missing and needs to be included manually.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Also very strangely, I found FreeRTOS.h(from FreeROTS itself), freeRTOS.h(generated by PE) and free_rtos.h(generated by PE).. for convienience i have added the snapshot, any help would be highly appreciated.&lt;span class="lia-inline-image-display-wrapper" image-alt="73830_73830.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120618i12A7D159E2AE2ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="73830_73830.JPG" alt="73830_73830.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55837iEF4CFDB0A1C4E2B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2015 19:04:13 GMT</pubDate>
    <dc:creator>Kewal</dc:creator>
    <dc:date>2015-09-10T19:04:13Z</dc:date>
    <item>
      <title>os_abstraction component +FreeRTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/os-abstraction-component-FreeRTOS/m-p/440697#M2811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I have configured the ethernet pins and debug UART pins and just have the os_abstraction component configured to freeRTOS.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;When I add a project connection to the IAR and compile, I am getting an error which says me to include FreeRTOS.h before semphr.h and fortunately its been included in the only file fsl_os_abstraction_Free_rtos.h which is the only file which includes semphr.h&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;has anybody found success in using the os_abstraction component configured to freeRTOS earlier. is there anything which is missing and needs to be included manually.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Also very strangely, I found FreeRTOS.h(from FreeROTS itself), freeRTOS.h(generated by PE) and free_rtos.h(generated by PE).. for convienience i have added the snapshot, any help would be highly appreciated.&lt;span class="lia-inline-image-display-wrapper" image-alt="73830_73830.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120618i12A7D159E2AE2ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="73830_73830.JPG" alt="73830_73830.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55837iEF4CFDB0A1C4E2B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 19:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/os-abstraction-component-FreeRTOS/m-p/440697#M2811</guid>
      <dc:creator>Kewal</dc:creator>
      <dc:date>2015-09-10T19:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: os_abstraction component +FreeRTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/os-abstraction-component-FreeRTOS/m-p/440698#M2812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kewal Deshpande:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to recreate your issue from my side by creating a new project in KDS v3.0.0 and selecting IAR compiler. Then I chose FreeRTOS from the &lt;STRONG&gt;fsl_os_abstraction&lt;/STRONG&gt; component, generated code and added the connection to a new project in IAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did have to add two preprocessor macros (I think you use k64, change it otherwise):&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/57260i00F8E2B1718C2AF7/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;After this the project compiled with no errors. In my case I only see 2 header files: &lt;STRONG&gt;free_rtos.h&lt;/STRONG&gt; (generated) and &lt;STRONG&gt;FreeRTOS.h&lt;/STRONG&gt; (from FreeRTOS). I guess that extra header file you see is causing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your projects with me (PE project and IAR project) so I can check them from my side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or please tell me how exactly you created the project until the point of the compiler errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 02:21:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/os-abstraction-component-FreeRTOS/m-p/440698#M2812</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-09-16T02:21:15Z</dc:date>
    </item>
  </channel>
</rss>

