<?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>LPC MicrocontrollersのトピックLPC812 projects with / without stack and heap</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-projects-with-without-stack-and-heap/m-p/1242094#M44185</link>
    <description>&lt;P&gt;I'm trying to port an RTOS - Novos PPS - to an LPC812, but somewhat unsuccessfully. &amp;nbsp;I was able to get FreeRTOS ported to it, but it runs out of program space if I use mutexes in addition to threads. &amp;nbsp;Not terribly shocking, that. &amp;nbsp;But one thing I noticed in debugging the Novos project was that in the "Heap and Stack Usage" panel, that project has defined heap and stack limits. &amp;nbsp;The Novos context switching absolutely destroys the stack, which is part of why it's not working. &amp;nbsp;But when testing the working FreeRTOS project, looking for similar behavior, I don't even see defined values for heap and stack in that panel. &amp;nbsp;A third "blinky" project also doesn't have defined heap and stack. &amp;nbsp;I created all three projects in a similar manner, and don't know enough to specify where heap and stack values in the project configuration should go to set them. So, my question: how is the Novos project getting defined heap and stack limits at all? &amp;nbsp;Is it something in the code that I'm overlooking? &amp;nbsp;A #pragma or some such?&lt;/P&gt;&lt;P&gt;Also, has anyone else had any luck getting Novos PPS to work on an LPC812? &amp;nbsp;I've spent more time on it than I want, but I'm curious if anyone else got it to work.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 02:35:07 GMT</pubDate>
    <dc:creator>aaronm</dc:creator>
    <dc:date>2021-03-09T02:35:07Z</dc:date>
    <item>
      <title>LPC812 projects with / without stack and heap</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-projects-with-without-stack-and-heap/m-p/1242094#M44185</link>
      <description>&lt;P&gt;I'm trying to port an RTOS - Novos PPS - to an LPC812, but somewhat unsuccessfully. &amp;nbsp;I was able to get FreeRTOS ported to it, but it runs out of program space if I use mutexes in addition to threads. &amp;nbsp;Not terribly shocking, that. &amp;nbsp;But one thing I noticed in debugging the Novos project was that in the "Heap and Stack Usage" panel, that project has defined heap and stack limits. &amp;nbsp;The Novos context switching absolutely destroys the stack, which is part of why it's not working. &amp;nbsp;But when testing the working FreeRTOS project, looking for similar behavior, I don't even see defined values for heap and stack in that panel. &amp;nbsp;A third "blinky" project also doesn't have defined heap and stack. &amp;nbsp;I created all three projects in a similar manner, and don't know enough to specify where heap and stack values in the project configuration should go to set them. So, my question: how is the Novos project getting defined heap and stack limits at all? &amp;nbsp;Is it something in the code that I'm overlooking? &amp;nbsp;A #pragma or some such?&lt;/P&gt;&lt;P&gt;Also, has anyone else had any luck getting Novos PPS to work on an LPC812? &amp;nbsp;I've spent more time on it than I want, but I'm curious if anyone else got it to work.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 02:35:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-projects-with-without-stack-and-heap/m-p/1242094#M44185</guid>
      <dc:creator>aaronm</dc:creator>
      <dc:date>2021-03-09T02:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 projects with / without stack and heap</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-projects-with-without-stack-and-heap/m-p/1243009#M44212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you use MCUXpresso IDE, take a look at MCUXpresso_IDE_User_Guide.pdf,&amp;nbsp;17.12 Modifying heap/stack placement.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 07:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-projects-with-without-stack-and-heap/m-p/1243009#M44212</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-03-10T07:08:47Z</dc:date>
    </item>
  </channel>
</rss>

