<?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>i.MX ProcessorsのトピックRe: Undefined reference to `pvPortMalloc' when build MCUXpresso project</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1715603#M211852</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222303"&gt;@TiDiChi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the build error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 07:14:42 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2023-09-01T07:14:42Z</dc:date>
    <item>
      <title>Undefined reference to `pvPortMalloc' when build MCUXpresso project</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1713688#M211706</link>
      <description>&lt;P&gt;I have just created a mcuxpresso project. this used freertos component from adding operating systerm in SDK wizard.&lt;/P&gt;&lt;P&gt;When i run file main without using xTaskCreate function, build successed. then i add a task, build failed.&lt;/P&gt;&lt;P&gt;My IDE uses sdk version 2.14.0 and manifest vesion 3.13.0.&lt;/P&gt;&lt;P&gt;What do i need to fix this bug ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 04:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1713688#M211706</guid>
      <dc:creator>TiDiChi</dc:creator>
      <dc:date>2023-08-30T04:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to `pvPortMalloc' when build MCUXpresso project</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1715603#M211852</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222303"&gt;@TiDiChi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the build error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 07:14:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1715603#M211852</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-09-01T07:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to `pvPortMalloc' when build MCUXpresso project</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1719983#M212312</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192970"&gt;@Harvey021&lt;/a&gt;&lt;/P&gt;&lt;P&gt;This error exists because heap file is not in MemMang folder (FreeRTOS component).&lt;/P&gt;&lt;P&gt;I solved my issuse by downgrading SDK version from 2.14 down 2.13 and manifest version from 3.13.0 down to 3.10.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;TiDiChi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 04:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1719983#M212312</guid>
      <dc:creator>TiDiChi</dc:creator>
      <dc:date>2023-09-11T04:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference to `pvPortMalloc' when build MCUXpresso project</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1832215#M221538</link>
      <description>&lt;P&gt;The problem, as &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222303"&gt;@TiDiChi&lt;/a&gt; noted, is that the MemMang does not contain any files where the different heap implementations of FreeRTOS should be visible, i.e., the contents of rtos/freertos/freertos-kernel/portable/MemMang. However, only one of the implementations is supposed to be compiled and linked in eventually, depending on the heap type selected via `configFRTOS_MEMORY_SCHEME` in `FreeRTOSConfig.h` because they all implement the same functions (e.g., `pvPortMalloc`).&lt;BR /&gt;I think it should be rather easy to reproduce if you link the SDK sources instead of copying them. I have not tested it with the latter. At least I ran into this with 11.9.0 and SDK 2.15.0 (from git).&lt;BR /&gt;&lt;BR /&gt;Once the correct heap*.c is added to the project (manually), it compiles fine.&lt;BR /&gt;&lt;BR /&gt;The question is if MCUX is supposed to support heaps at all and if so how to choose the correct version?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 18:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Undefined-reference-to-pvPortMalloc-when-build-MCUXpresso/m-p/1832215#M221538</guid>
      <dc:creator>stefanct</dc:creator>
      <dc:date>2024-03-21T18:14:31Z</dc:date>
    </item>
  </channel>
</rss>

