From 3323366694f9af8fb384396a1811e0112b3248ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=94=9F?= <37073099+lianghongquan@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:18:55 +0800 Subject: [PATCH] [bsp][hc32]support MDK AC6 compiler (#6087) --- bsp/hc32/ev_hc32f460_lqfp100_v2/board/board.h | 2 +- bsp/hc32/ev_hc32f4a0_lqfp176/board/board.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/hc32/ev_hc32f460_lqfp100_v2/board/board.h b/bsp/hc32/ev_hc32f460_lqfp100_v2/board/board.h index e578847ccc..73cc6b0f2b 100644 --- a/bsp/hc32/ev_hc32f460_lqfp100_v2/board/board.h +++ b/bsp/hc32/ev_hc32f460_lqfp100_v2/board/board.h @@ -23,7 +23,7 @@ extern "C" { #define HC32_SRAM_SIZE (188) #define HC32_SRAM_END (0x1FFF8000 + HC32_SRAM_SIZE * 1024) -#ifdef __CC_ARM +#ifdef __ARMCC_VERSION extern int Image$$RW_IRAM1$$ZI$$Limit; #define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit) #elif __ICCARM__ diff --git a/bsp/hc32/ev_hc32f4a0_lqfp176/board/board.h b/bsp/hc32/ev_hc32f4a0_lqfp176/board/board.h index 191ae0aff5..3267a1d2ef 100644 --- a/bsp/hc32/ev_hc32f4a0_lqfp176/board/board.h +++ b/bsp/hc32/ev_hc32f4a0_lqfp176/board/board.h @@ -23,7 +23,7 @@ extern "C" { #define HC32_SRAM_SIZE (512) #define HC32_SRAM_END (0x1FFE0000 + HC32_SRAM_SIZE * 1024) -#ifdef __CC_ARM +#ifdef __ARMCC_VERSION extern int Image$$RW_IRAM1$$ZI$$Limit; #define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit) #elif __ICCARM__