summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_allocateheap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_allocateheap.c b/nuttx/arch/arm/src/stm32/stm32_allocateheap.c
index c995239cb..e54042094 100644
--- a/nuttx/arch/arm/src/stm32/stm32_allocateheap.c
+++ b/nuttx/arch/arm/src/stm32/stm32_allocateheap.c
@@ -92,6 +92,7 @@
*/
#if defined(CONFIG_STM32_STM32F10XX)
+
/* Set the end of system SRAM */
# define SRAM1_END CONFIG_DRAM_END
@@ -133,7 +134,8 @@
* In addition, external FSMC SRAM may be available.
*/
-#elif defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F40XX
+#elif defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F40XX)
+
/* Set the end of system SRAM */
# define SRAM1_END 0x20020000