summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuzhuoyi <[email protected]>2018-09-30 14:53:55 +0800
committerxuzhuoyi <[email protected]>2018-09-30 14:53:55 +0800
commitffd38a57c364f83c9a431c77cfd795bd67e64183 (patch)
treed3a884600f869b73009c75441d4656e8137dd6ff
parent0cd2c106274955ab2b75ae15379da7722dc686ee (diff)
[bsp][stm32f4xx-hal] Fix compile failure when using ARM Compiler V6.10.1
-rw-r--r--bsp/stm32f4xx-HAL/drivers/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32f4xx-HAL/drivers/board.h b/bsp/stm32f4xx-HAL/drivers/board.h
index bb68b2a908..2b9fc4807f 100644
--- a/bsp/stm32f4xx-HAL/drivers/board.h
+++ b/bsp/stm32f4xx-HAL/drivers/board.h
@@ -370,7 +370,7 @@
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
-#ifdef __CC_ARM
+#if defined(__CC_ARM) || defined(__CLANG_ARM)
extern int Image$$RW_IRAM1$$ZI$$Limit;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__