<?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のトピックRe: prvTaskExitError(void) function</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/prvTaskExitError-void-function/m-p/1364173#M18689</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113595"&gt;@davidzhu&lt;/a&gt;&amp;nbsp;：&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;prvTaskExitError() should only ever be entered if an application task attempts to return or exit.&lt;/P&gt;
&lt;P&gt;Please refer to below link&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.freertos.org/implementing-a-FreeRTOS-task.html" target="_blank"&gt;https://www.freertos.org/implementing-a-FreeRTOS-task.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe some tasks in your project return from their implementing function.&lt;/P&gt;
&lt;P&gt;If you want to terminate a task, please can&amp;nbsp; vTaskDelete(NULL);&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Oct 2021 13:01:22 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2021-10-31T13:01:22Z</dc:date>
    <item>
      <title>prvTaskExitError(void) function</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/prvTaskExitError-void-function/m-p/1360365#M18688</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a task but here the execution ends in prvTaskExitError(void) , how to solve this problem.&lt;/P&gt;&lt;P&gt;The function is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*-----------------------------------------------------------*/&lt;/P&gt;&lt;P&gt;static void prvTaskExitError( void )&lt;BR /&gt;{&lt;BR /&gt;volatile uint32_t ulDummy = 0;&lt;/P&gt;&lt;P&gt;/* A function that implements a task must not exit or attempt to return to&lt;BR /&gt;* its caller as there is nothing to return to. If a task wants to exit it&lt;BR /&gt;* should instead call vTaskDelete( NULL ).&lt;BR /&gt;*&lt;BR /&gt;* Artificially force an assert() to be triggered if configASSERT() is&lt;BR /&gt;* defined, then stop here so application writers can catch the error. */&lt;BR /&gt;configASSERT( uxCriticalNesting == ~0UL );&lt;BR /&gt;portDISABLE_INTERRUPTS();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please throw some light on this&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 04:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/prvTaskExitError-void-function/m-p/1360365#M18688</guid>
      <dc:creator>davidzhu</dc:creator>
      <dc:date>2021-10-24T04:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: prvTaskExitError(void) function</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/prvTaskExitError-void-function/m-p/1364173#M18689</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113595"&gt;@davidzhu&lt;/a&gt;&amp;nbsp;：&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;prvTaskExitError() should only ever be entered if an application task attempts to return or exit.&lt;/P&gt;
&lt;P&gt;Please refer to below link&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.freertos.org/implementing-a-FreeRTOS-task.html" target="_blank"&gt;https://www.freertos.org/implementing-a-FreeRTOS-task.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe some tasks in your project return from their implementing function.&lt;/P&gt;
&lt;P&gt;If you want to terminate a task, please can&amp;nbsp; vTaskDelete(NULL);&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Oct 2021 13:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/prvTaskExitError-void-function/m-p/1364173#M18689</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2021-10-31T13:01:22Z</dc:date>
    </item>
  </channel>
</rss>

