mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 05:36:46 +08:00
patch #6822 (Add option to place memory pools in separate arrays) - new config option MEMP_SEPARATE_POOLS
This commit is contained in:
@@ -124,6 +124,15 @@
|
||||
#define MEM_SIZE 1600
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MEMP_SEPARATE_POOLS: if defined to 1, each pool is placed in its own array.
|
||||
* This can be used to individually change the location of each pool.
|
||||
* Default is one big array for all pools
|
||||
*/
|
||||
#ifndef MEMP_SEPARATE_POOLS
|
||||
#define MEMP_SEPARATE_POOLS 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MEMP_OVERFLOW_CHECK: memp overflow protection reserves a configurable
|
||||
* amount of bytes before and after each memp element in every pool and fills
|
||||
|
||||
Reference in New Issue
Block a user