aboutsummaryrefslogtreecommitdiff
path: root/nuttx/mm
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-09-05 23:02:43 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-09-05 23:02:43 +0000
commit97da506c0c2d8c785235fc88fdfbdeb284f7392d (patch)
tree7011e0912cedf3470b14dbe4dc237933da287bab /nuttx/mm
parent2cdd7e7425f7b8d8bb04e86b375b16c4f8a5c01e (diff)
downloadpx4-firmware-97da506c0c2d8c785235fc88fdfbdeb284f7392d.tar.gz
px4-firmware-97da506c0c2d8c785235fc88fdfbdeb284f7392d.tar.bz2
px4-firmware-97da506c0c2d8c785235fc88fdfbdeb284f7392d.zip
STM32 Kconfig looks good. STM32 external ram configuration changed.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5100 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/mm')
-rw-r--r--nuttx/mm/Kconfig36
1 files changed, 27 insertions, 9 deletions
diff --git a/nuttx/mm/Kconfig b/nuttx/mm/Kconfig
index 000217dc5..bf3540138 100644
--- a/nuttx/mm/Kconfig
+++ b/nuttx/mm/Kconfig
@@ -3,15 +3,6 @@
# see misc/tools/kconfig-language.txt.
#
-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 MM_SMALL
bool "Small memory model"
default n
@@ -24,3 +15,30 @@ config MM_SMALL
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.
+
+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.
+