source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/examples/example_app/lwippools.h@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 647 bytes
Line 
1/* OPTIONAL: Pools to replace heap allocation
2 * Optional: Pools can be used instead of the heap for mem_malloc. If
3 * so, these should be defined here, in increasing order according to
4 * the pool element size.
5 *
6 * LWIP_MALLOC_MEMPOOL(number_elements, element_size)
7 */
8#if MEM_USE_POOLS
9LWIP_MALLOC_MEMPOOL_START
10LWIP_MALLOC_MEMPOOL(100, 256)
11LWIP_MALLOC_MEMPOOL(50, 512)
12LWIP_MALLOC_MEMPOOL(20, 1024)
13LWIP_MALLOC_MEMPOOL(20, 1536)
14LWIP_MALLOC_MEMPOOL_END
15#endif /* MEM_USE_POOLS */
16
17/* Optional: Your custom pools can go here if you would like to use
18 * lwIP's memory pools for anything else.
19 */
20LWIP_MEMPOOL(SYS_MBOX, 22, 100, "SYS_MBOX")
Note: See TracBrowser for help on using the repository browser.