2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-11 16:47:25 +02:00
|
|
|
|
|
|
|
config MM_SMALL
|
|
|
|
bool "Small memory model"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Each memory allocation has a small allocation overhead. The size
|
|
|
|
of that overhead is normally determined by the "width" of the
|
|
|
|
address support by the MCU. MCUs that support 16-bit addressability
|
|
|
|
have smaller overhead than devices that support 32-bit addressability.
|
|
|
|
However, there are many MCUs that support 32-bit addressability *but*
|
|
|
|
have internal SRAM of size less than or equal to 64Kb. In this case,
|
|
|
|
CONFIG_MM_SMALL can be defined so that those MCUs will also benefit
|
|
|
|
from the smaller, 16-bit-based allocation overhead.
|
2012-09-06 01:02:43 +02:00
|
|
|
|
|
|
|
config MM_REGIONS
|
|
|
|
int "Number of memory regions"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
If the architecture includes multiple, non-contiguous regions of
|
|
|
|
memory to allocate from, this specifies the number of memory regions
|
|
|
|
that the memory manager must handle and enables the API
|
|
|
|
mm_addregion(start, end);
|
|
|
|
|
|
|
|
config ARCH_HAVE_HEAP2
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HEAP2_BASE
|
|
|
|
hex "Start address of second heap region"
|
|
|
|
default 0x00000000
|
|
|
|
depends on ARCH_HAVE_HEAP2
|
|
|
|
---help---
|
|
|
|
The base address of the second heap region.
|
|
|
|
|
|
|
|
config HEAP2_SIZE
|
|
|
|
int "Size of the second heap region"
|
|
|
|
default 0
|
|
|
|
depends on ARCH_HAVE_HEAP2
|
|
|
|
---help---
|
|
|
|
The size of the second heap region.
|
|
|
|
|