mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 04:35:24 +08:00
Merge pull request #1856 from xuzhuoyi/stm32f4xx-hal
[bsp][stm32f4xx-hal] Fix compile failure when using ARM Compiler V6
This commit is contained in:
commit
8ff95d49c5
@ -370,7 +370,7 @@
|
|||||||
|
|
||||||
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
|
#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;
|
extern int Image$$RW_IRAM1$$ZI$$Limit;
|
||||||
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
|
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
|
||||||
#elif __ICCARM__
|
#elif __ICCARM__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user