Nucleo-F401RE: Fix memory usage

This commit is contained in:
Gregory Nutt 2014-04-30 08:20:30 -06:00
parent 6f3e0d5cfb
commit e346b1e8d3
3 changed files with 4 additions and 4 deletions

View File

@ -221,6 +221,7 @@ CONFIG_ARCH_CHIP_STM32F401RE=y
# CONFIG_STM32_STM32F20XX is not set
# CONFIG_STM32_STM32F30XX is not set
CONFIG_STM32_STM32F40XX=y
CONFIG_STM32_STM32F401=y
# CONFIG_STM32_DFU is not set
#
@ -370,7 +371,7 @@ CONFIG_BOOT_RUNFROMFLASH=y
# Boot Memory Configuration
#
CONFIG_RAM_START=0x20000000
CONFIG_RAM_SIZE=262144
CONFIG_RAM_SIZE=98304
# CONFIG_ARCH_HAVE_SDRAM is not set
#

View File

@ -51,7 +51,7 @@ fi
# toolchain under windows. You will also have to edit this if you install
# the CodeSourcery toolchain in any other location
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin"
# This the Cygwin path to the location where I build the buildroot
# toolchain.

View File

@ -44,8 +44,7 @@
MEMORY
{
flash (rx) : ORIGIN = 0x08000000, LENGTH = 512K
/* Total: 101 vectors = 404 bytes (0x194) to be reserved in RAM */
sram (rwx) : ORIGIN = 0x20000000+0x194, LENGTH = (96K-0x194)
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K
}
OUTPUT_ARCH(arm)