aboutsummaryrefslogtreecommitdiff
path: root/nuttx/mm
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-11 14:47:25 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-11 14:47:25 +0000
commitd334d4d0153973bab43e156f8c5326c5084bdd6f (patch)
tree8da66a1ba7b7179a1a22907c7c434b903a5f85b6 /nuttx/mm
parent95c7a42c261171c4a867d4d59ec440fa88696d8f (diff)
downloadpx4-firmware-d334d4d0153973bab43e156f8c5326c5084bdd6f.tar.gz
px4-firmware-d334d4d0153973bab43e156f8c5326c5084bdd6f.tar.bz2
px4-firmware-d334d4d0153973bab43e156f8c5326c5084bdd6f.zip
Fix CDC/ACM alternate interface number (from Antti)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4589 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/mm')
-rw-r--r--nuttx/mm/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/nuttx/mm/Kconfig b/nuttx/mm/Kconfig
index ae2bf3130..000217dc5 100644
--- a/nuttx/mm/Kconfig
+++ b/nuttx/mm/Kconfig
@@ -2,3 +2,25 @@
# For a description of the syntax of this configuration file,
# 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
+ ---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.