<?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>S32 Design StudioのトピックRe: How to enable memory pools is lwip?</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-enable-memory-pools-is-lwip/m-p/880743#M4606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file lwippools.h (generated by ProcessorExpert). starts with:&lt;BR /&gt;#ifndef LWIP_LWIPPOOLS_H&lt;BR /&gt;#define LWIP_LWIPPOOLS_H&lt;BR /&gt;And ends with:&lt;BR /&gt;#endif /* LWIP_LWIPPOOLS_H */&lt;BR /&gt;Unfortunately this file needs to be included multiple times to create the pools.&lt;BR /&gt;Please remove (or comment out) those three lines.&lt;BR /&gt;&lt;BR /&gt;This would&amp;nbsp;not have happened if I didn't used ProcessorExpert generated file as my starting point (the generated file do not use memory pools).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2019 21:33:58 GMT</pubDate>
    <dc:creator>freddy_ben-zeev</dc:creator>
    <dc:date>2019-04-05T21:33:58Z</dc:date>
    <item>
      <title>How to enable memory pools is lwip?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-enable-memory-pools-is-lwip/m-p/880742#M4605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried to set&amp;nbsp;MEM_USE_POOLS to 1 - it complains that it also needs&amp;nbsp;MEMP_USE_CUSTOM_POOLS. I've set&amp;nbsp;MEMP_USE_CUSTOM_POOLS also to 1, it fails to compile memp_priv.h in this section:&lt;BR /&gt;&lt;BR /&gt;typedef enum {&lt;BR /&gt; /* Get the first (via:&lt;BR /&gt; MEMP_POOL_HELPER_START = ((u8_t) 1*MEMP_POOL_A + 0*MEMP_POOL_B + 0*MEMP_POOL_C + 0)*/&lt;BR /&gt; MEMP_POOL_HELPER_FIRST = ((u8_t)&lt;BR /&gt;#define LWIP_MEMPOOL(name,num,size,desc)&lt;BR /&gt;#define LWIP_MALLOC_MEMPOOL_START 1&lt;BR /&gt;#define LWIP_MALLOC_MEMPOOL(num, size) * MEMP_POOL_##size + 0&lt;BR /&gt;#define LWIP_MALLOC_MEMPOOL_END&lt;BR /&gt;#include "lwip/priv/memp_std.h"&lt;BR /&gt; ) ,&lt;BR /&gt; /* Get the last (via:&lt;BR /&gt; MEMP_POOL_HELPER_END = ((u8_t) 0 + MEMP_POOL_A*0 + MEMP_POOL_B*0 + MEMP_POOL_C*1) */&lt;BR /&gt; MEMP_POOL_HELPER_LAST = ((u8_t)&lt;BR /&gt;#define LWIP_MEMPOOL(name,num,size,desc)&lt;BR /&gt;#define LWIP_MALLOC_MEMPOOL_START&lt;BR /&gt;#define LWIP_MALLOC_MEMPOOL(num, size) 0 + MEMP_POOL_##size *&lt;BR /&gt;#define LWIP_MALLOC_MEMPOOL_END 1&lt;BR /&gt;#include "lwip/priv/memp_std.h"&lt;BR /&gt; )&lt;BR /&gt;} memp_pool_helper_t;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Freddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 18:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-enable-memory-pools-is-lwip/m-p/880742#M4605</guid>
      <dc:creator>freddy_ben-zeev</dc:creator>
      <dc:date>2019-04-04T18:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable memory pools is lwip?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-enable-memory-pools-is-lwip/m-p/880743#M4606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file lwippools.h (generated by ProcessorExpert). starts with:&lt;BR /&gt;#ifndef LWIP_LWIPPOOLS_H&lt;BR /&gt;#define LWIP_LWIPPOOLS_H&lt;BR /&gt;And ends with:&lt;BR /&gt;#endif /* LWIP_LWIPPOOLS_H */&lt;BR /&gt;Unfortunately this file needs to be included multiple times to create the pools.&lt;BR /&gt;Please remove (or comment out) those three lines.&lt;BR /&gt;&lt;BR /&gt;This would&amp;nbsp;not have happened if I didn't used ProcessorExpert generated file as my starting point (the generated file do not use memory pools).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:33:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-enable-memory-pools-is-lwip/m-p/880743#M4606</guid>
      <dc:creator>freddy_ben-zeev</dc:creator>
      <dc:date>2019-04-05T21:33:58Z</dc:date>
    </item>
  </channel>
</rss>

