summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/nsh/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-27 23:14:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-27 23:14:43 +0000
commita103801be3696e5e296766dd70d3d4774283c256 (patch)
tree8b2ab04f54b1d0a6eb83abb6de034c94db79ae4d /nuttx/configs/stm3240g-eval/nsh/defconfig
parente4968d3556b862b4bdf950f6d70516fce710dfe1 (diff)
downloadpx4-nuttx-a103801be3696e5e296766dd70d3d4774283c256.tar.gz
px4-nuttx-a103801be3696e5e296766dd70d3d4774283c256.tar.bz2
px4-nuttx-a103801be3696e5e296766dd70d3d4774283c256.zip
Add logic to support the FSMC SRAM in the NuttX heap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4433 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/nsh/defconfig')
-rw-r--r--nuttx/configs/stm3240g-eval/nsh/defconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig
index 654d3342f..5a8646541 100644
--- a/nuttx/configs/stm3240g-eval/nsh/defconfig
+++ b/nuttx/configs/stm3240g-eval/nsh/defconfig
@@ -121,6 +121,29 @@ CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n
CONFIG_STM32_JTAG_SW_ENABLE=n
#
+# On-chip TCM SRAM configuration
+#
+# CONFIG_STM32_TCMEXCLUDE - Exclude TCM SRAM from the HEAP. You would need
+# to do this if DMA is enabled to prevent non-DMA-able TCM memory from
+# being a part of the stack.
+#
+
+#
+# On-board FSMC SRAM configuration
+#
+# CONFIG_STM32_FSMC - Required. See below
+# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above)
+#
+# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the
+# FSMC (as opposed to an LCD or FLASH).
+# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space
+# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space
+#
+CONFIG_STM32_FSMC_SRAM=y
+CONFIG_HEAP2_BASE=0x64000000
+CONFIG_HEAP2_END=(0x64000000+(2*1024*1024))
+
+#
# Individual subsystems can be enabled:
#
# Individual subsystems can be enabled: