From 53d24dd4b057f7d05e81577cea84a89d0bb021fb Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 22 Mar 2013 18:26:03 +0000 Subject: [PATCH] Fix some errors in stm32_allocateheap.c for STM32 F1 and F3 that crept in recently git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5776 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/stm32/stm32_allocateheap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/stm32/stm32_allocateheap.c b/arch/arm/src/stm32/stm32_allocateheap.c index e6ba2b94720..f79e6eedbae 100644 --- a/arch/arm/src/stm32/stm32_allocateheap.c +++ b/arch/arm/src/stm32/stm32_allocateheap.c @@ -60,7 +60,7 @@ * following definitions must be provided to specify the size and * location of internal(system) SRAM: * - * SRAM1_END : End address (+1) of SRAM (F1 family only, the + * CONFIG_DRAM_END : End address (+1) of SRAM (F1 family only, the * : F4 family uses the a priori end of SRAM) * * The F4 family also contains internal CCM SRAM. This SRAM is different @@ -90,7 +90,7 @@ #endif /* For the STM312F10xxx family, all internal SRAM is in one contiguous block - * starting at g_idle_topstack and extending through SRAM1_END (my apologies for + * starting at g_idle_topstack and extending through CONFIG_DRAM_END (my apologies for * the bad naming). In addition, external FSMC SRAM may be available. */ @@ -98,7 +98,7 @@ /* Set the end of system SRAM */ -# define SRAM1_END SRAM1_END +# define SRAM1_END CONFIG_DRAM_END /* Check if external FSMC SRAM is provided */ @@ -132,7 +132,7 @@ /* Set the end of system SRAM */ -# define SRAM1_END SRAM1_END +# define SRAM1_END CONFIG_DRAM_END /* Set the range of CCM SRAM as well (although we may not use it) */