diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-22 18:26:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-22 18:26:03 +0000 |
commit | f3427f57661698850483d9638892a7c25456078c (patch) | |
tree | 399433d8f31309be1daed4a529e12a14935f5e06 /nuttx/arch/arm/src | |
parent | f91a1aac610192984326a4d0e77796c1419f8ca1 (diff) | |
download | px4-nuttx-f3427f57661698850483d9638892a7c25456078c.tar.gz px4-nuttx-f3427f57661698850483d9638892a7c25456078c.tar.bz2 px4-nuttx-f3427f57661698850483d9638892a7c25456078c.zip |
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
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_allocateheap.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) */ |