mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
STM32 Kconfig looks good. STM32 external ram configuration changed.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5100 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -451,7 +451,7 @@ The on-board SRAM can be configured by setting
|
||||
CONFIG_STM32_FSMC=y
|
||||
CONFIG_STM32_FSMC_SRAM=y
|
||||
CONFIG_HEAP2_BASE=0x64000000
|
||||
CONFIG_HEAP2_END=(0x64000000+(2*1024*1024))
|
||||
CONFIG_HEAP2_SIZE=2097152
|
||||
CONFIG_MM_REGIONS=2 (or =3, see below)
|
||||
|
||||
Configuration Options
|
||||
@@ -472,7 +472,7 @@ present in the NuttX configuration file:
|
||||
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
|
||||
CONFIG_HEAP2_SIZE : The size of the SRAM in the FSMC
|
||||
address space
|
||||
CONFIG_MM_REGIONS : Must be set to a large enough value to
|
||||
include the FSMC SRAM
|
||||
@@ -591,9 +591,9 @@ STM3240G-EVAL-specific Configuration Options
|
||||
CONFIG_STM32_FSMC_SRAM - 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_BASE - The base address of the SRAM in the FSMC address space (hex)
|
||||
|
||||
CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space
|
||||
CONFIG_HEAP2_END - The size of the SRAM in the FSMC address space (decimal)
|
||||
|
||||
CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization
|
||||
|
||||
|
||||
Reference in New Issue
Block a user