<?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 MicrocontrollersのトピックRe: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629430#M37848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;I downloaded the component and created a quick test LED blinky project and discovered that this &lt;STRONG&gt;is&lt;/STRONG&gt; the component I had tried before.&amp;nbsp; I am able to successfully create a task to blink an LED, but when I try to create a second task, I get stuck.&amp;nbsp; Stepping through with the debugger, at some point I get to the function 'FRTOS1_vApplicationMallocFailedHook()', which seems to suggest I've run out of heap space?&amp;nbsp; I'm guessing this is some sort of implementation issue on my part.&amp;nbsp; Do you have any simple example projects that create more than one task?&amp;nbsp; Or any suggestions in general?&amp;nbsp; I'm a little out of my depth here...&lt;BR /&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2017 16:03:41 GMT</pubDate>
    <dc:creator>justusandjustic</dc:creator>
    <dc:date>2017-01-27T16:03:41Z</dc:date>
    <item>
      <title>RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629424#M37842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a S9KEAZN64* processor which is currently not supported by KSDK.&amp;nbsp; Is there a plan to support this chip, or others in the same family in the future?&amp;nbsp; What are the options in the way of RTOS in a Processor Expert project in the meantime?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 17:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629424#M37842</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-01-19T17:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629425#M37843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Josiah,&lt;/P&gt;&lt;P&gt;yes, the KEA family does not have SDK package, but i think you can download the driver package which is based on KE family from the website. But it does not have the code example based on freeRtos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ftinyurl.com%2Fgsbp3co" rel="nofollow" target="_blank"&gt;http://tinyurl.com/gsbp3co&lt;/A&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 09:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629425#M37843</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-01-20T09:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629426#M37844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I am able to accomplish most of what I want to do with Processor Expert.&amp;nbsp; The only thing I really wanted the SDK for was RTOS.&amp;nbsp; It's not an immediate requirement for my project, so if the SDK is not an option, and there isn't a similarly simple way to do it, I will probably just come back to RTOS implementation later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629426#M37844</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-01-20T16:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629427#M37845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josiah,&lt;/P&gt;&lt;P&gt;there is an open source Processor Expert component available with the McuOnEclipse project, see &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/12/12/mcuoneclipse-components-12-dec-2016-release/" title="https://mcuoneclipse.com/2016/12/12/mcuoneclipse-components-12-dec-2016-release/"&gt;McuOnEclipse Components: 12-Dec-2016 Release | MCU on Eclipse&lt;/A&gt;&amp;nbsp; for the latest release. The download (make sure you install both files) is on SourceForge, see &lt;A class="link-titled" href="https://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/" title="https://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/"&gt;McuOnEclipse Releases on SourceForge | MCU on Eclipse&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how it looks:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12573iB41AE4C70DC77C6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As the SKEA is a Cortex-M0+, make sure you configure it for the M0+:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12616iB43B69BB4B4B342B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 18:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629427#M37845</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-01-20T18:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629428#M37846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Erich!&lt;/P&gt;&lt;P&gt;I had tried a RTOS component previously, but I was unable to get it fully working.&amp;nbsp; However, this looks to be a different one than the one I tried, so hopefully I will have more success.&lt;/P&gt;&lt;P&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 19:36:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629428#M37846</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-01-20T19:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629429#M37847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josiah,&lt;/P&gt;&lt;P&gt;yes, this one is different from the one supplied by default with Processor Expert. This one is supporting the latest and greatest FreeRTOS with all the bells and whistles supporting 8 different architectures and 7 different compilers :-).&lt;/P&gt;&lt;P&gt;And let me know if you need anything to get started with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 05:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629429#M37847</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-01-21T05:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629430#M37848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;I downloaded the component and created a quick test LED blinky project and discovered that this &lt;STRONG&gt;is&lt;/STRONG&gt; the component I had tried before.&amp;nbsp; I am able to successfully create a task to blink an LED, but when I try to create a second task, I get stuck.&amp;nbsp; Stepping through with the debugger, at some point I get to the function 'FRTOS1_vApplicationMallocFailedHook()', which seems to suggest I've run out of heap space?&amp;nbsp; I'm guessing this is some sort of implementation issue on my part.&amp;nbsp; Do you have any simple example projects that create more than one task?&amp;nbsp; Or any suggestions in general?&amp;nbsp; I'm a little out of my depth here...&lt;BR /&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 16:03:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629430#M37848</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-01-27T16:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629431#M37849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josiah,&lt;/P&gt;&lt;P&gt;yes, you are running out of heap memory. The size of the heap is specified (in bytes) by configTOTAL_HEAP_SIZE in FreeRTOSConfig.h. See&amp;nbsp;&lt;A class="link-titled" href="http://www.freertos.org/a00110.html" title="http://www.freertos.org/a00110.html"&gt;FreeRTOS - The Free RTOS configuration constants and configuration options - FREE Open Source RTOS for small real time …&lt;/A&gt;&amp;nbsp; for a list of configuration items.&lt;/P&gt;&lt;P&gt;In the component there is a setting for this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12708iB31BC9D322A2FB0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 18:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629431#M37849</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-01-27T18:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629432#M37850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I found that setting after I replied.&amp;nbsp; I played around with changing the heap size for awhile, but each time I either got an error saying the heap was too small for FreeRTOS, or got an error saying it was too large to fit on my processor.&amp;nbsp; Apparently this chip only has 4KB: &lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/data-sheets/S9KEA64P64M20SF0.pdf" title="http://www.nxp.com/assets/documents/data/en/data-sheets/S9KEA64P64M20SF0.pdf"&gt;http://www.nxp.com/assets/documents/data/en/data-sheets/S9KEA64P64M20SF0.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything else I can try?&amp;nbsp; Or is my chip just not going to be able to handle FreeRTOS?&lt;/P&gt;&lt;P&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629432#M37850</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-01-27T20:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629433#M37851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josiah&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A pre-emptive RTOS requires each task to have its own stack, which must be adequately large to be able to handle its own local variables, subroutine local memory use and interrupts (and possibly nested interrupts).&amp;nbsp; Although some things are possible in 4k it is probably too restrictive in most circumstances and so either you will need a larger chip or a slim-lined solution to allow much more to be done by optimal memory utilisation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following co-operative solution allow powerful projects in small memory:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTRK-KEA64.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TRK-KEA64.html&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KEAZ64Q64.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KEAZ64Q64.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 23:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629433#M37851</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-01-27T23:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629434#M37852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josiah,&lt;/P&gt;&lt;P&gt;4 K or RAM is possible (I'm running FreeRTOS in a product which just has 1 KByte of RAM). However, this requires careful analysis and undestanding of the settings. Mainly it depends on how many tasks you run (every task needs stack space in RAM), the number of queues, semaphore, mutex, etc and of course your application variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the default stack size for most FreeRTOS demos is set to 200 or 128 in configMINIMAL_STACK_SIZE (&lt;A class="link-titled" href="http://www.freertos.org/a00110.html#configMINIMAL_STACK_SIZE" title="http://www.freertos.org/a00110.html#configMINIMAL_STACK_SIZE"&gt;FreeRTOS - The Free RTOS configuration constants and configuration options - FREE Open Source RTOS for small real time …&lt;/A&gt;&amp;nbsp;) which is 4x that number (so for 200 it is 800 bytes!). That's probably too much for your application, and keep in mind that there is the IDLE task too which thakes that amount. So if you create one task with configMINIMAL_STACK_SIZE this will eat up 1600 bytes of RAM. You can easily reduce these numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jan 2017 15:12:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629434#M37852</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-01-28T15:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629435#M37853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;I did not think about the fact that the number was 1/4th the number of bytes.&amp;nbsp; That would explain why I couldn't do more than two tasks (including Idle Task).&amp;nbsp; I changed that the Minimal Stack Size setting to 100 and my demo tasks are now working successfully!&amp;nbsp; Hopefully I will be able to adopt this into my full program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One last question: If I reduce the stack size below what the task needs, will I get a clean error, or will I overflow and cause bad things to happen?&amp;nbsp; I'm wondering if I can just do a trial-and-error method of determining stack size I will need for the tasks in my main project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for answering all my questions so far, you have been extremely helpful!&lt;/P&gt;&lt;P&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:54:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629435#M37853</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-02-03T14:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629436#M37854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshiah,&lt;/P&gt;&lt;P&gt;you won't get a clean error for stack overflow, but there is a stack overflow hook you can use:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12812iBD45F41D556236BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Read as well &lt;A class="link-titled" href="http://www.freertos.org/Stacks-and-stack-overflow-checking.html" title="http://www.freertos.org/Stacks-and-stack-overflow-checking.html"&gt;FreeRTOS - stacks and stack overflow checking&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To statically calculate the stack size needed I'm using the method described here: &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/08/21/gnu-static-stack-usage-analysis/" title="https://mcuoneclipse.com/2015/08/21/gnu-static-stack-usage-analysis/"&gt;GNU Static Stack Usage Analysis | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good 'trial-and-error' way is to use the FreeRTOS Kernel awarness in KDS which shows the currently and max used stack: &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/07/06/freertos-kernel-awareness-for-eclipse-from-nxp/" title="https://mcuoneclipse.com/2016/07/06/freertos-kernel-awareness-for-eclipse-from-nxp/"&gt;FreeRTOS Kernel Awareness for Eclipse from NXP | MCU on Eclipse&lt;/A&gt;&amp;nbsp; with the Task List view which shows how much stack is used: &lt;A class="link-titled" href="https://mcuoneclipse.files.wordpress.com/2016/07/freertos-task-list.png?w=584&amp;amp;h=168" title="https://mcuoneclipse.files.wordpress.com/2016/07/freertos-task-list.png?w=584&amp;amp;h=168"&gt;https://mcuoneclipse.files.wordpress.com/2016/07/freertos-task-list.png?w=584&amp;amp;h=168&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option is to use the McuOnEclipse Shell component which lists all the tasks with their stack size and usage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12866i874ED63A82E24F65/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 16:38:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629436#M37854</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-02-03T16:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS with Processor Expert Project where processor is not supported by KSDK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629437#M37855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;I will look into the options you have described.&lt;/P&gt;&lt;P&gt;Thanks again for all your help!&lt;/P&gt;&lt;P&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 17:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-with-Processor-Expert-Project-where-processor-is-not/m-p/629437#M37855</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-02-03T17:09:38Z</dc:date>
    </item>
  </channel>
</rss>

