<?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>Kinetis Software Development KitのトピックRun shell as a task using FreeRTOS (KSDK2.1 )</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Run-shell-as-a-task-using-FreeRTOS-KSDK2-1/m-p/659253#M7162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run shell or debug console as a separate task from the rest of the tasks in the software and only execute it when needed (interrupt based). I see that shell in FreeRTOS&amp;nbsp;uses UART blocking function calls to read and write. This is causing the entire application to wait for the blocking call to finish and sit in a while loop. If I change the shell task to lower priority, the task is never getting executed because of higher priority tasks in the software. I could do this easily using MQX in the older version of SDK but I am unable to figure out how this can be done in FreeRTOS. Please let me know what would be the&amp;nbsp;best way to achieve this? An example would be helpful.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 23:52:21 GMT</pubDate>
    <dc:creator>priya_dwivedula</dc:creator>
    <dc:date>2017-01-03T23:52:21Z</dc:date>
    <item>
      <title>Run shell as a task using FreeRTOS (KSDK2.1 )</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Run-shell-as-a-task-using-FreeRTOS-KSDK2-1/m-p/659253#M7162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run shell or debug console as a separate task from the rest of the tasks in the software and only execute it when needed (interrupt based). I see that shell in FreeRTOS&amp;nbsp;uses UART blocking function calls to read and write. This is causing the entire application to wait for the blocking call to finish and sit in a while loop. If I change the shell task to lower priority, the task is never getting executed because of higher priority tasks in the software. I could do this easily using MQX in the older version of SDK but I am unable to figure out how this can be done in FreeRTOS. Please let me know what would be the&amp;nbsp;best way to achieve this? An example would be helpful.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Run-shell-as-a-task-using-FreeRTOS-KSDK2-1/m-p/659253#M7162</guid>
      <dc:creator>priya_dwivedula</dc:creator>
      <dc:date>2017-01-03T23:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Run shell as a task using FreeRTOS (KSDK2.1 )</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Run-shell-as-a-task-using-FreeRTOS-KSDK2-1/m-p/659254#M7163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you can set the send_data_cb_t and recv_data_t as interrupt driver function. Sorry I don't have such an example now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 02:56:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Run-shell-as-a-task-using-FreeRTOS-KSDK2-1/m-p/659254#M7163</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-03-28T02:56:31Z</dc:date>
    </item>
  </channel>
</rss>

