4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 02:27:10 +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:
Bernard Xiong 2018-09-30 16:07:29 +08:00 committed by GitHub
commit 8ff95d49c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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__