From f3427f57661698850483d9638892a7c25456078c Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 22 Mar 2013 18:26:03 +0000 Subject: 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 --- nuttx/arch/arm/src/stm32/stm32_allocateheap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nuttx/arch/arm/src/stm32/stm32_allocateheap.c') diff --git a/nuttx/arch/arm/src/stm32/stm32_allocateheap.c b/nuttx/arch/arm/src/stm32/stm32_allocateheap.c index e6ba2b947..f79e6eedb 100644 --- a/nuttx/arch/arm/src/stm32/stm32_allocateheap.c +++ b/nuttx/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) */ -- cgit v1.2.3