Olimex STM32 P407: Has only 128KiB of contiguous RAM. Exclude CCM memory for now.

This commit is contained in:
Gregory Nutt 2016-12-21 12:49:03 -06:00
parent 81c1466d93
commit c1e2606526
2 changed files with 17 additions and 8 deletions

View file

@ -1,8 +1,11 @@
README
======
The NuttX configuration for the Olimex STM32-P407 is derives more or
less directly from the Olimex STM32-P207 board support.
The NuttX configuration for the Olimex STM32-P407 is derives more or less
directly from the Olimex STM32-P207 board support. The P207 and P407 seem
to share the same board design. Other code comes from the STM3240G board
support (which has the same crystal and clocking) and from the STM32 F4
Discovery (which has the same STM32 part)
Note that CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG is enabled so
that the JTAG connection is not disconnected by the idle loop.
@ -31,6 +34,12 @@ The following peripherals are enabled in this configuration.
STATUS:
2016-12-21: This board configuration was ported from the Olimex STM32 P207
port. Note all of the above features have been verified. USB, AND, and
Ethernet are disabled in the base NSH configuration until they can be
verified.
port. Note that none of the above features have been verified. USB, CAN,
ADC, and Ethernet are disabled in the base NSH configuration until they
can be verified. These features should be functional but may required
some tweaks due to the different clock configurations. The Olimex STM32
P207 nsh/defconfig would be a good starting place for restoring these
feature configurations.
CCM memory is not included in the heap (CONFIG_STM32_CCMEXCLUDE=y) because
it does no suport DMA, leaving only 128KiB for program usage.

View file

@ -437,7 +437,7 @@ CONFIG_STM32_JTAG_SW_ENABLE=y
CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG=y
# CONFIG_STM32_FORCEPOWER is not set
# CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG is not set
# CONFIG_STM32_CCMEXCLUDE is not set
CONFIG_STM32_CCMEXCLUDE=y
#
# Timer Configuration
@ -551,7 +551,7 @@ CONFIG_BOOT_RUNFROMFLASH=y
# Boot Memory Configuration
#
CONFIG_RAM_START=0x20000000
CONFIG_RAM_SIZE=196608
CONFIG_RAM_SIZE=131072
# CONFIG_ARCH_HAVE_SDRAM is not set
#
@ -880,7 +880,7 @@ CONFIG_FS_MQUEUE_MPATH="/var/mqueue"
# Memory Management
#
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=2
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
# CONFIG_GRAN is not set