Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
SummerGao.
rt-thread
提交
5187d75a
R
rt-thread
项目概览
SummerGao.
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5187d75a
编写于
12月 29, 2021
作者:
mysterywolf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[armclang] 使用__clang__代替__CLANG_ARM
上级
ead24644
变更
131
隐藏空白更改
内联
并排
Showing
131 changed file
with
144 addition
and
148 deletion
+144
-148
bsp/Vango_V85xx/drivers/board.h
bsp/Vango_V85xx/drivers/board.h
+1
-1
bsp/acm32f0x0-nucleo/drivers/board.c
bsp/acm32f0x0-nucleo/drivers/board.c
+2
-2
bsp/acm32f4xx-nucleo/drivers/board.c
bsp/acm32f4xx-nucleo/drivers/board.c
+2
-2
bsp/apm32/apm32f103xe-minibroard/board/board.h
bsp/apm32/apm32f103xe-minibroard/board/board.h
+1
-1
bsp/at32/at32f403a-start/board/board.h
bsp/at32/at32f403a-start/board/board.h
+1
-1
bsp/at32/at32f407-start/board/board.h
bsp/at32/at32f407-start/board/board.h
+1
-1
bsp/essemi/es32f0654/drivers/board.h
bsp/essemi/es32f0654/drivers/board.h
+1
-1
bsp/essemi/es32f365x/drivers/board.h
bsp/essemi/es32f365x/drivers/board.h
+1
-1
bsp/essemi/es32f369x/drivers/board.h
bsp/essemi/es32f369x/drivers/board.h
+1
-1
bsp/gd32e230k-start/drivers/board.h
bsp/gd32e230k-start/drivers/board.h
+1
-1
bsp/hk32/hk32f030c8-mini/board/board.h
bsp/hk32/hk32f030c8-mini/board/board.h
+1
-1
bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/applications/main.c
...c55sxx/Libraries/template/lpc55s6xxxx/applications/main.c
+1
-1
bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/board/board.h
bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/board/board.h
+1
-1
bsp/lpc55sxx/lpc55s69_nxp_evk/applications/main.c
bsp/lpc55sxx/lpc55s69_nxp_evk/applications/main.c
+1
-1
bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.h
bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.h
+1
-1
bsp/maxim/MAX32660_EVSYS/board/board.h
bsp/maxim/MAX32660_EVSYS/board/board.h
+1
-1
bsp/mm32l07x/drivers/board.h
bsp/mm32l07x/drivers/board.h
+1
-1
bsp/n32g452xx/n32g452xx-mini-system/board/board.h
bsp/n32g452xx/n32g452xx-mini-system/board/board.h
+1
-1
bsp/nrf5x/libraries/templates/nrfx/board/board.h
bsp/nrf5x/libraries/templates/nrfx/board/board.h
+1
-1
bsp/nrf5x/nrf51822/board/board.h
bsp/nrf5x/nrf51822/board/board.h
+1
-1
bsp/nrf5x/nrf52832/board/board.h
bsp/nrf5x/nrf52832/board/board.h
+1
-1
bsp/nrf5x/nrf52833/board/board.h
bsp/nrf5x/nrf52833/board/board.h
+1
-1
bsp/nrf5x/nrf52840/board/board.h
bsp/nrf5x/nrf52840/board/board.h
+1
-1
bsp/nuvoton/numaker-iot-m487/board/board.h
bsp/nuvoton/numaker-iot-m487/board/board.h
+1
-1
bsp/nuvoton/numaker-m032ki/board/board.h
bsp/nuvoton/numaker-m032ki/board/board.h
+1
-1
bsp/nuvoton/numaker-m2354/board/board.h
bsp/nuvoton/numaker-m2354/board/board.h
+1
-1
bsp/nuvoton/numaker-pfm-m487/board/board.h
bsp/nuvoton/numaker-pfm-m487/board/board.h
+1
-1
bsp/samd21/applications/startup.c
bsp/samd21/applications/startup.c
+2
-2
bsp/stm32/libraries/templates/stm32f0xx/board/board.h
bsp/stm32/libraries/templates/stm32f0xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f10x/board/board.h
bsp/stm32/libraries/templates/stm32f10x/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f2xx/board/board.h
bsp/stm32/libraries/templates/stm32f2xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f3xx/board/board.h
bsp/stm32/libraries/templates/stm32f3xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32h7xx/board/board.h
bsp/stm32/libraries/templates/stm32h7xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32l1xx/board/board.h
bsp/stm32/libraries/templates/stm32l1xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32l5xx/board/board.h
bsp/stm32/libraries/templates/stm32l5xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32mp1xx/board/board.h
bsp/stm32/libraries/templates/stm32mp1xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32wbxx/board/board.h
bsp/stm32/libraries/templates/stm32wbxx/board/board.h
+1
-1
bsp/stm32/stm32f072-st-nucleo/board/board.h
bsp/stm32/stm32f072-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f091-st-nucleo/board/board.h
bsp/stm32/stm32f091-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f103-atk-nano/board/board.h
bsp/stm32/stm32f103-atk-nano/board/board.h
+1
-1
bsp/stm32/stm32f103-atk-warshipv3/board/board.h
bsp/stm32/stm32f103-atk-warshipv3/board/board.h
+1
-1
bsp/stm32/stm32f103-blue-pill/board/board.h
bsp/stm32/stm32f103-blue-pill/board/board.h
+1
-1
bsp/stm32/stm32f103-dofly-M3S/board/board.h
bsp/stm32/stm32f103-dofly-M3S/board/board.h
+1
-1
bsp/stm32/stm32f103-dofly-lyc8/board/board.h
bsp/stm32/stm32f103-dofly-lyc8/board/board.h
+1
-1
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
+1
-1
bsp/stm32/stm32f103-gizwits-gokitv21/board/board.h
bsp/stm32/stm32f103-gizwits-gokitv21/board/board.h
+1
-1
bsp/stm32/stm32f103-hw100k-ibox/board/board.h
bsp/stm32/stm32f103-hw100k-ibox/board/board.h
+1
-1
bsp/stm32/stm32f103-onenet-nbiot/board/board.h
bsp/stm32/stm32f103-onenet-nbiot/board/board.h
+1
-1
bsp/stm32/stm32f103-yf-ufun/board/board.h
bsp/stm32/stm32f103-yf-ufun/board/board.h
+1
-1
bsp/stm32/stm32f107-uc-eval/board/board.h
bsp/stm32/stm32f107-uc-eval/board/board.h
+1
-1
bsp/stm32/stm32f207-st-nucleo/board/board.h
bsp/stm32/stm32f207-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f302-st-nucleo/board/board.h
bsp/stm32/stm32f302-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f401-st-nucleo/board/board.h
bsp/stm32/stm32f401-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f405-smdz-breadfruit/board/board.h
bsp/stm32/stm32f405-smdz-breadfruit/board/board.h
+1
-1
bsp/stm32/stm32f407-armfly-v5/board/board.h
bsp/stm32/stm32f407-armfly-v5/board/board.h
+1
-1
bsp/stm32/stm32f407-atk-explorer/applications/lvgl/lv_port_disp.c
...2/stm32f407-atk-explorer/applications/lvgl/lv_port_disp.c
+1
-1
bsp/stm32/stm32f407-atk-explorer/board/board.h
bsp/stm32/stm32f407-atk-explorer/board/board.h
+1
-1
bsp/stm32/stm32f407-robomaster-c/board/board.h
bsp/stm32/stm32f407-robomaster-c/board/board.h
+1
-1
bsp/stm32/stm32f407-st-discovery/board/board.h
bsp/stm32/stm32f407-st-discovery/board/board.h
+1
-1
bsp/stm32/stm32f410-st-nucleo/board/board.h
bsp/stm32/stm32f410-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f411-atk-nano/board/board.h
bsp/stm32/stm32f411-atk-nano/board/board.h
+1
-1
bsp/stm32/stm32f411-st-nucleo/board/board.h
bsp/stm32/stm32f411-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f411-weact-MiniF4/board/board.h
bsp/stm32/stm32f411-weact-MiniF4/board/board.h
+1
-1
bsp/stm32/stm32f412-st-nucleo/board/board.h
bsp/stm32/stm32f412-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f413-st-nucleo/board/board.h
bsp/stm32/stm32f413-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f427-robomaster-a/board/board.h
bsp/stm32/stm32f427-robomaster-a/board/board.h
+1
-1
bsp/stm32/stm32f429-armfly-v6/board/board.h
bsp/stm32/stm32f429-armfly-v6/board/board.h
+1
-1
bsp/stm32/stm32f429-atk-apollo/board/board.h
bsp/stm32/stm32f429-atk-apollo/board/board.h
+1
-1
bsp/stm32/stm32f429-fire-challenger/board/board.h
bsp/stm32/stm32f429-fire-challenger/board/board.h
+1
-1
bsp/stm32/stm32f429-st-disco/board/board.h
bsp/stm32/stm32f429-st-disco/board/board.h
+1
-1
bsp/stm32/stm32f446-st-nucleo/board/board.h
bsp/stm32/stm32f446-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f469-st-disco/board/board.h
bsp/stm32/stm32f469-st-disco/board/board.h
+1
-1
bsp/stm32/stm32f746-st-disco/board/board.h
bsp/stm32/stm32f746-st-disco/board/board.h
+1
-1
bsp/stm32/stm32f746-st-nucleo/board/board.h
bsp/stm32/stm32f746-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f767-atk-apollo/board/board.h
bsp/stm32/stm32f767-atk-apollo/board/board.h
+1
-1
bsp/stm32/stm32f767-fire-challenger-v1/board/board.h
bsp/stm32/stm32f767-fire-challenger-v1/board/board.h
+1
-1
bsp/stm32/stm32f767-st-nucleo/board/board.h
bsp/stm32/stm32f767-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f769-st-disco/board/board.h
bsp/stm32/stm32f769-st-disco/board/board.h
+1
-1
bsp/stm32/stm32g070-st-nucleo/board/board.h
bsp/stm32/stm32g070-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32g071-st-nucleo/board/board.h
bsp/stm32/stm32g071-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32g431-st-nucleo/board/board.h
bsp/stm32/stm32g431-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32g474-st-nucleo/board/board.h
bsp/stm32/stm32g474-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32h743-armfly-V7/board/board.h
bsp/stm32/stm32h743-armfly-V7/board/board.h
+1
-1
bsp/stm32/stm32h743-atk-apollo/board/board.h
bsp/stm32/stm32h743-atk-apollo/board/board.h
+1
-1
bsp/stm32/stm32h743-openmv-h7plus/board/board.h
bsp/stm32/stm32h743-openmv-h7plus/board/board.h
+1
-1
bsp/stm32/stm32h743-st-nucleo/board/board.h
bsp/stm32/stm32h743-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32h747-st-discovery/board/board.h
bsp/stm32/stm32h747-st-discovery/board/board.h
+1
-1
bsp/stm32/stm32h750-armfly-h7-tool/board/board.h
bsp/stm32/stm32h750-armfly-h7-tool/board/board.h
+1
-1
bsp/stm32/stm32h750-artpi-h750/board/board.h
bsp/stm32/stm32h750-artpi-h750/board/board.h
+1
-1
bsp/stm32/stm32l010-st-nucleo/board/board.h
bsp/stm32/stm32l010-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32l053-st-nucleo/board/board.h
bsp/stm32/stm32l053-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32l433-ali-startkit/board/board.h
bsp/stm32/stm32l433-ali-startkit/board/board.h
+1
-1
bsp/stm32/stm32l452-st-nucleo/board/board.h
bsp/stm32/stm32l452-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32l475-atk-pandora/board/board.h
bsp/stm32/stm32l475-atk-pandora/board/board.h
+1
-1
bsp/stm32/stm32l496-ali-developer/board/board.h
bsp/stm32/stm32l496-ali-developer/board/board.h
+1
-1
bsp/stm32/stm32l496-st-nucleo/board/board.h
bsp/stm32/stm32l496-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32l4r9-st-sensortile-box/board/board.h
bsp/stm32/stm32l4r9-st-sensortile-box/board/board.h
+1
-1
bsp/stm32/stm32l552-st-nucleo/board/board.h
bsp/stm32/stm32l552-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32mp157a-st-discovery/board/board.h
bsp/stm32/stm32mp157a-st-discovery/board/board.h
+1
-1
bsp/stm32/stm32mp157a-st-discovery/board/ports/audio/drv_mic.c
...tm32/stm32mp157a-st-discovery/board/ports/audio/drv_mic.c
+1
-1
bsp/stm32/stm32mp157a-st-discovery/board/ports/audio/drv_sound.c
...32/stm32mp157a-st-discovery/board/ports/audio/drv_sound.c
+1
-1
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_eth.c
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_eth.c
+1
-1
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.c
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.c
+1
-1
bsp/stm32/stm32mp157a-st-ev1/board/board.h
bsp/stm32/stm32mp157a-st-ev1/board/board.h
+1
-1
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_dfsdm.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_dfsdm.c
+3
-3
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_emmc.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_emmc.c
+1
-1
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_ov5640.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_ov5640.c
+2
-2
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sdcard.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sdcard.c
+1
-1
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sound.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sound.c
+1
-1
bsp/stm32/stm32mp157a-st-ev1/board/ports/eth/drv_eth.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/eth/drv_eth.c
+1
-1
bsp/stm32/stm32u575-st-nucleo/board/board.h
bsp/stm32/stm32u575-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32wb55-st-nucleo/board/board.h
bsp/stm32/stm32wb55-st-nucleo/board/board.h
+1
-1
bsp/swm320-lq100/drivers/board.h
bsp/swm320-lq100/drivers/board.h
+1
-1
bsp/swm320/drivers/board.h
bsp/swm320/drivers/board.h
+1
-1
bsp/tm4c123bsp/board/board.h
bsp/tm4c123bsp/board/board.h
+1
-1
bsp/wch/arm/ch32f103c8-core/board/board.h
bsp/wch/arm/ch32f103c8-core/board/board.h
+1
-1
bsp/yichip/yc3121-pos/drivers/board.h
bsp/yichip/yc3121-pos/drivers/board.h
+1
-1
components/cplusplus/cxx_crt_init.c
components/cplusplus/cxx_crt_init.c
+2
-2
components/libc/compilers/armlibc/syscalls.c
components/libc/compilers/armlibc/syscalls.c
+2
-2
components/utilities/utest/utest.c
components/utilities/utest/utest.c
+1
-1
components/utilities/var_export/var_export.c
components/utilities/var_export/var_export.c
+3
-3
include/rtdef.h
include/rtdef.h
+0
-4
libcpu/arm/cortex-m3/cpuport.c
libcpu/arm/cortex-m3/cpuport.c
+1
-1
libcpu/arm/cortex-m33/cpuport.c
libcpu/arm/cortex-m33/cpuport.c
+2
-2
libcpu/arm/cortex-m33/trustzone.c
libcpu/arm/cortex-m33/trustzone.c
+1
-1
libcpu/arm/cortex-m4/cpuport.c
libcpu/arm/cortex-m4/cpuport.c
+2
-2
libcpu/arm/cortex-m7/cpuport.c
libcpu/arm/cortex-m7/cpuport.c
+2
-2
libcpu/sim/win32/startup.c
libcpu/sim/win32/startup.c
+2
-2
未找到文件。
bsp/Vango_V85xx/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -21,7 +21,7 @@
#define V85XX_SRAM_SIZE 32
#define V85XX_SRAM_END (0x20000000 + V85XX_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/acm32f0x0-nucleo/drivers/board.c
浏览文件 @
5187d75a
...
...
@@ -18,7 +18,7 @@
extern
int
rt_application_init
(
void
);
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#elif __ICCARM__
#pragma section="HEAP"
...
...
@@ -58,7 +58,7 @@ void rt_hw_board_init(void)
rt_console_set_device
(
RT_CONSOLE_DEVICE_NAME
);
#ifdef RT_USING_HEAP
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
rt_system_heap_init
((
void
*
)
&
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
,
(
void
*
)
SOC_SRAM_END_ADDR
);
#elif __ICCARM__
rt_system_heap_init
(
__segment_end
(
"HEAP"
),
(
void
*
)
SOC_SRAM_END_ADDR
);
...
...
bsp/acm32f4xx-nucleo/drivers/board.c
浏览文件 @
5187d75a
...
...
@@ -17,7 +17,7 @@
extern
int
rt_application_init
(
void
);
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#elif __ICCARM__
#pragma section="HEAP"
...
...
@@ -57,7 +57,7 @@ void rt_hw_board_init(void)
rt_console_set_device
(
RT_CONSOLE_DEVICE_NAME
);
#ifdef RT_USING_HEAP
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
rt_system_heap_init
((
void
*
)
&
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
,
(
void
*
)
SOC_SRAM_END_ADDR
);
#elif __ICCARM__
rt_system_heap_init
(
__segment_end
(
"HEAP"
),
(
void
*
)
SOC_SRAM_END_ADDR
);
...
...
bsp/apm32/apm32f103xe-minibroard/board/board.h
浏览文件 @
5187d75a
...
...
@@ -36,7 +36,7 @@ extern "C" {
#define APM32_SRAM_SIZE 128
#define APM32_SRAM_END (0x20000000 + APM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/at32/at32f403a-start/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define AT32_SRAM_SIZE 96
#define AT32_SRAM_END (0x20000000 + AT32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/at32/at32f407-start/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define AT32_SRAM_SIZE 96
#define AT32_SRAM_END (0x20000000 + AT32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/essemi/es32f0654/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -31,7 +31,7 @@
#define ES32F0_SRAM_SIZE 0x8000
#define ES32F0_SRAM_END (0x20000000 + ES32F0_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/essemi/es32f365x/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -30,7 +30,7 @@
#define ES32F3_SRAM_SIZE 0x10000
#define ES32F3_SRAM_END (0x20000000 + ES32F3_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/essemi/es32f369x/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -31,7 +31,7 @@
#define ES32F3_SRAM_SIZE 0x18000
#define ES32F3_SRAM_END (0x20000000 + ES32F3_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/gd32e230k-start/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -25,7 +25,7 @@ extern char __ICFEDIT_region_RAM_end__;
#define GD32_SRAM_END (0x20000000 + GD32_SRAM_SIZE * 1024)
#endif
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/hk32/hk32f030c8-mini/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define HK32_SRAM_SIZE 10
#define HK32_SRAM_END (0x20000000 + HK32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/applications/main.c
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@ int main(void)
{
#if defined(__CC_ARM)
rt_kprintf
(
"using armcc, version: %d
\n
"
,
__ARMCC_VERSION
);
#elif defined(__
CLANG_ARM
)
#elif defined(__
clang__
)
rt_kprintf
(
"using armclang, version: %d
\n
"
,
__ARMCC_VERSION
);
#elif defined(__ICCARM__)
rt_kprintf
(
"using iccarm, version: %d
\n
"
,
__VER__
);
...
...
bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@
// <RDTConfigurator URL="http://www.rt-thread.com/eclipse">
// </RDTConfigurator>
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
ARM_LIB_HEAP
$$
ZI
$$
Base
;
#define HEAP_BEGIN ((void *)&Image$$ARM_LIB_HEAP$$ZI$$Base)
#elif defined(__ICCARM__)
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/applications/main.c
浏览文件 @
5187d75a
...
...
@@ -24,7 +24,7 @@ int main(void)
{
#if defined(__CC_ARM)
rt_kprintf
(
"using armcc, version: %d
\n
"
,
__ARMCC_VERSION
);
#elif defined(__
CLANG_ARM
)
#elif defined(__
clang__
)
rt_kprintf
(
"using armclang, version: %d
\n
"
,
__ARMCC_VERSION
);
#elif defined(__ICCARM__)
rt_kprintf
(
"using iccarm, version: %d
\n
"
,
__VER__
);
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@
// <RDTConfigurator URL="http://www.rt-thread.com/eclipse">
// </RDTConfigurator>
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
ARM_LIB_HEAP
$$
ZI
$$
Base
;
extern
int
Image
$$
ARM_LIB_STACK
$$
ZI
$$
Base
;
#define HEAP_BEGIN ((void *)&Image$$ARM_LIB_HEAP$$ZI$$Base)
...
...
bsp/maxim/MAX32660_EVSYS/board/board.h
浏览文件 @
5187d75a
...
...
@@ -26,7 +26,7 @@
#define MCU_SRAM_START (0x20000000)
#define MCU_SRAM_END (MCU_SRAM_START + MCU_SRAM_SIZE_KB * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/mm32l07x/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -16,7 +16,7 @@
#define SRAM_SIZE 0x2000
#define SRAM_END (SRAM_BASE + SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/n32g452xx/n32g452xx-mini-system/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define N32_SRAM_SIZE (80)
#define N32_SRAM_END (0x20000000 + N32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nrf5x/libraries/templates/nrfx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@
#define MCU_SRAM_SIZE MCU_SRAM_SIZE_KB*1024
#define MCU_SRAM_END_ADDRESS (MCU_SRAM_START_ADDRESS + MCU_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nrf5x/nrf51822/board/board.h
浏览文件 @
5187d75a
...
...
@@ -10,7 +10,7 @@
#define MCU_SRAM_SIZE MCU_SRAM_SIZE_KB*1024
#define MCU_SRAM_END_ADDRESS (MCU_SRAM_START_ADDRESS + MCU_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nrf5x/nrf52832/board/board.h
浏览文件 @
5187d75a
...
...
@@ -10,7 +10,7 @@
#define MCU_SRAM_SIZE MCU_SRAM_SIZE_KB*1024
#define MCU_SRAM_END_ADDRESS (MCU_SRAM_START_ADDRESS + MCU_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nrf5x/nrf52833/board/board.h
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@
#define MCU_SRAM_SIZE MCU_SRAM_SIZE_KB*1024
#define MCU_SRAM_END_ADDRESS (MCU_SRAM_START_ADDRESS + MCU_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nrf5x/nrf52840/board/board.h
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@
#define MCU_SRAM_SIZE MCU_SRAM_SIZE_KB*1024
#define MCU_SRAM_END_ADDRESS (MCU_SRAM_START_ADDRESS + MCU_SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nuvoton/numaker-iot-m487/board/board.h
浏览文件 @
5187d75a
...
...
@@ -17,7 +17,7 @@
#define SRAM_SIZE (160)
#define SRAM_END (0x20000000 + SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nuvoton/numaker-m032ki/board/board.h
浏览文件 @
5187d75a
...
...
@@ -17,7 +17,7 @@
#define SRAM_SIZE (96)
#define SRAM_END (0x20000000 + SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nuvoton/numaker-m2354/board/board.h
浏览文件 @
5187d75a
...
...
@@ -17,7 +17,7 @@
#define SRAM_SIZE (256)
#define SRAM_END (0x20000000 + SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/nuvoton/numaker-pfm-m487/board/board.h
浏览文件 @
5187d75a
...
...
@@ -17,7 +17,7 @@
#define SRAM_SIZE (160)
#define SRAM_END (0x20000000 + SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/samd21/applications/startup.c
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern void finsh_system_init(void);
extern
void
finsh_set_device
(
const
char
*
device
);
#endif
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#elif __ICCARM__
#pragma section="HEAP"
...
...
@@ -72,7 +72,7 @@ void rtthread_startup(void)
rt_system_timer_init
();
#ifdef RT_USING_HEAP
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
rt_system_heap_init
((
void
*
)
&
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
,
(
void
*
)
CHIP_SRAM_END
);
#elif __ICCARM__
rt_system_heap_init
(
__segment_end
(
"HEAP"
),
(
void
*
)
CHIP_SRAM_END
);
...
...
bsp/stm32/libraries/templates/stm32f0xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 32
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32f10x/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 20
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32f2xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32f3xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 16
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32h7xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x24000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32l1xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 16
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32l5xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32mp1xx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM_SIZE (128)
#define STM32_SRAM_END ((uint32_t)0x10040000 + (STM32_SRAM_SIZE * 1024))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/libraries/templates/stm32wbxx/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f072-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 16
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f091-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 32
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-atk-nano/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 20
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-atk-warshipv3/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 64
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-blue-pill/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 20
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-dofly-M3S/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM_SIZE 64
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-dofly-lyc8/board/board.h
浏览文件 @
5187d75a
...
...
@@ -23,7 +23,7 @@
#define STM32_SRAM_SIZE 20
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_FLASH_SIZE (512 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-gizwits-gokitv21/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 20
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-hw100k-ibox/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 64
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-onenet-nbiot/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 64
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f103-yf-ufun/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 48
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f107-uc-eval/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 64
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f207-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f302-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 16
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f401-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 96
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f405-smdz-breadfruit/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (128)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f407-armfly-v5/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f407-atk-explorer/applications/lvgl/lv_port_disp.c
浏览文件 @
5187d75a
...
...
@@ -26,7 +26,7 @@ static lv_disp_drv_t disp_drv;
lv_color_t
buf_1
[
LCD_H
*
LCD_W
];
#elif defined ( __CC_ARM )
/* MDK ARM Compiler */
__attribute__
((
at
(
0x68000000
)))
lv_color_t
buf_1
[
LCD_H
*
LCD_W
];
#elif defined ( __
CLANG_ARM
)
/* MDK ARM Compiler v6 */
#elif defined ( __
clang__
)
/* MDK ARM Compiler v6 */
__attribute__
((
section
(
".ARM.__at_0x68000000"
)))
lv_color_t
buf_1
[
LCD_H
*
LCD_W
];
#elif defined ( __GNUC__ )
/* GNU Compiler */
lv_color_t
buf_1
[
LCD_H
*
LCD_W
]
__attribute__
((
section
(
".MCUlcdgrambysram"
)));
...
...
bsp/stm32/stm32f407-atk-explorer/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_FLASH_SIZE (1024 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f407-robomaster-c/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f407-st-discovery/board/board.h
浏览文件 @
5187d75a
...
...
@@ -23,7 +23,7 @@ extern "C" {
#define STM32_SRAM_SIZE (128)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f410-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 32
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f411-atk-nano/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f411-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f411-weact-MiniF4/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f412-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 256
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f413-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE 320
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f427-robomaster-a/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f429-armfly-v6/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_FLASH_SIZE (2 * 1024 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f429-atk-apollo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (192)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f429-fire-challenger/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_FLASH_SIZE (1024 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f429-st-disco/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE (256 - 64)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f446-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -24,7 +24,7 @@
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f469-st-disco/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE (384 - 64)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f746-st-disco/board/board.h
浏览文件 @
5187d75a
...
...
@@ -23,7 +23,7 @@
#define STM32_SRAM_SIZE (320)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f746-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -23,7 +23,7 @@
#define STM32_SRAM_SIZE (256)
#define STM32_SRAM_END (0x20010000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f767-atk-apollo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f767-fire-challenger-v1/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_FLASH_SIZE (1024 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f767-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -24,7 +24,7 @@
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32f769-st-disco/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32g070-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 36
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32g071-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 36
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32g431-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -24,7 +24,7 @@
#define STM32_SRAM_SIZE 32
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32g474-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -24,7 +24,7 @@
#define STM32_SRAM_SIZE 32
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32h743-armfly-V7/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x24000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32h743-atk-apollo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -31,7 +31,7 @@ extern "C" {
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x24000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32h743-openmv-h7plus/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32h743-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (512)
#define STM32_SRAM_END (0x24000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32h747-st-discovery/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (128)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32h750-armfly-h7-tool/board/board.h
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@ extern "C" {
#define STM32_SRAM_SIZE (128)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32h750-artpi-h750/board/board.h
浏览文件 @
5187d75a
...
...
@@ -77,7 +77,7 @@ extern "C" {
#define STM32_SRAM1_START RAM_START
#define STM32_SRAM1_END RAM_END
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l010-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 20
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l053-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM_SIZE 8
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l433-ali-startkit/board/board.h
浏览文件 @
5187d75a
...
...
@@ -34,7 +34,7 @@ extern "C" {
#define STM32_FLASH_SIZE (256 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l452-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l475-atk-pandora/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l496-ali-developer/board/board.h
浏览文件 @
5187d75a
...
...
@@ -39,7 +39,7 @@ extern "C" {
#define STM32_FLASH_SIZE (1024 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l496-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l4r9-st-sensortile-box/board/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32l552-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32mp157a-st-discovery/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM_SIZE (64)
#define STM32_SRAM_END (0x10030000 + 64 * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32mp157a-st-discovery/board/ports/audio/drv_mic.c
浏览文件 @
5187d75a
...
...
@@ -24,7 +24,7 @@
/* SYSRAM */
#define RX_FIFO_SIZE (4096)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
rt_uint8_t
MIC_RX_FIFO
[
RX_FIFO_SIZE
]
__attribute__
((
at
(
0x2FFC2000
)));
#elif defined(__ICCARM__)
#pragma location = 0x2FFC2000
...
...
bsp/stm32/stm32mp157a-st-discovery/board/ports/audio/drv_sound.c
浏览文件 @
5187d75a
...
...
@@ -22,7 +22,7 @@
/* SYSRAM */
#define TX_FIFO_SIZE (4096)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
rt_uint8_t
AUDIO_TX_FIFO
[
TX_FIFO_SIZE
]
__attribute__
((
at
(
0x2FFC3000
)));
#elif defined(__ICCARM__)
#pragma location = 0x2FFC3000
...
...
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_eth.c
浏览文件 @
5187d75a
...
...
@@ -44,7 +44,7 @@ static TxDmaDesc txDmaDesc[ETH_TXBUFNB];
#pragma location = RX_DMA_ADD_BASE
static
RxDmaDesc
rxDmaDesc
[
ETH_RXBUFNB
];
#elif defined(__
CC_ARM) || defined(__CLANG_ARM
)
#elif defined(__
ARMCC_VERSION
)
/* transmit buffer */
static
rt_uint8_t
txBuffer
[
ETH_TXBUFNB
][
ETH_TX_BUF_SIZE
]
__attribute__
((
at
(
TX_ADD_BASE
)));
/* Receive buffer */
...
...
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.c
浏览文件 @
5187d75a
...
...
@@ -55,7 +55,7 @@ struct rthw_sdio
/* SYSRAM SDMMC1/2 accesses */
#define SDCARD_ADDR 0x2FFFF000
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
SDCARD_ADDR
)))
static
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
];
#elif defined ( __GNUC__ )
static
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
]
__attribute__
((
section
(
".SdCardSection"
)));
...
...
bsp/stm32/stm32mp157a-st-ev1/board/board.h
浏览文件 @
5187d75a
...
...
@@ -30,7 +30,7 @@ extern "C" {
#define STM32_SRAM_SIZE (64)
#define STM32_SRAM_END (0x10030000 + 64 * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_dfsdm.c
浏览文件 @
5187d75a
...
...
@@ -19,7 +19,7 @@
#include <drv_log.h>
#define FILTER_FIFO_SIZE (1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
0x2FFC8000
)))
static
rt_int32_t
FILTER0_FIFO
[
FILTER_FIFO_SIZE
];
#elif defined ( __GNUC__ )
static
rt_int32_t
FILTER0_FIFO
[
FILTER_FIFO_SIZE
]
__attribute__
((
section
(
".Filter0Section"
)));
...
...
@@ -28,7 +28,7 @@ static rt_int32_t FILTER0_FIFO[FILTER_FIFO_SIZE] __attribute__((section(".Filter
__no_init
static
rt_int32_t
FILTER0_FIFO
[
FILTER_FIFO_SIZE
];
#endif
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
0x2FFC9000
)))
static
rt_int32_t
FILTER0_FIFO
[
FILTER_FIFO_SIZE
];
#elif defined ( __GNUC__ )
static
rt_int32_t
FILTER0_FIFO
[
FILTER_FIFO_SIZE
]
__attribute__
((
section
(
".Filter1Section"
)));
...
...
@@ -38,7 +38,7 @@ __no_init static rt_int32_t FILTER1_FIFO[FILTER_FIFO_SIZE];
#endif
#define PALY_SIZE 2048
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
0x2FFCA000
)))
static
rt_int16_t
PLAY_BUF
[
PALY_SIZE
];
#elif defined ( __GNUC__ )
__attribute__
((
at
(
0x2FFCA000
)))
__attribute__
((
section
(
".DfsdmSection"
)));
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_emmc.c
浏览文件 @
5187d75a
...
...
@@ -50,7 +50,7 @@ struct rthw_sdio
#define EMMC_BUFF_SIZE 4096
#define EMMC_BUFF_ADDR 0x2FFCB000
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
EMMC_BUFF_ADDR
)))
static
rt_uint8_t
cache_buf
[
EMMC_BUFF_SIZE
];
#elif defined ( __GNUC__ )
static
rt_uint8_t
cache_buf
[
EMMC_BUFF_SIZE
]
__attribute__
((
section
(
".eMMCSection"
)));
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_ov5640.c
浏览文件 @
5187d75a
...
...
@@ -27,7 +27,7 @@
#define JPEG_BUF_SIZE 8 * 1024
#define JPEG_LINE_SIZE 1 * 1024
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
0x2FFCC000
)))
static
rt_int32_t
JPEG_DATA_BUF
[
JPEG_BUF_SIZE
];
#elif defined(__GNUC__)
static
rt_int32_t
JPEG_DATA_BUF
[
JPEG_BUF_SIZE
]
__attribute__
((
section
(
".Dcmi0Section"
)));
...
...
@@ -36,7 +36,7 @@ static rt_int32_t JPEG_DATA_BUF[JPEG_BUF_SIZE] __attribute__((section(".Dcmi0Sec
__no_init
static
rt_int32_t
JPEG_DATA_BUF
[
JPEG_BUF_SIZE
];
#endif
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
0x2FFDC000
)))
static
rt_int32_t
JPEG_LINE_BUF
[
2
][
JPEG_LINE_SIZE
];
#elif defined(__GNUC__)
static
rt_int32_t
JPEG_LINE_BUF
[
2
][
JPEG_LINE_SIZE
]
__attribute__
((
section
(
".Dcmi1Section"
)));
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sdcard.c
浏览文件 @
5187d75a
...
...
@@ -42,7 +42,7 @@ struct rt_completion rx_comp;
/* SYSRAM SDMMC1/2 accesses */
#define SDIO_BUFF_SIZE 512
#define SDCARD_ADDR 0x2FFC0000
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
SDCARD_ADDR
)))
static
rt_uint32_t
cache_buf
[
SDIO_BUFF_SIZE
];
#elif defined ( __GNUC__ )
static
rt_uint32_t
cache_buf
[
SDIO_BUFF_SIZE
]
__attribute__
((
section
(
".SdCardSection"
)));
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sound.c
浏览文件 @
5187d75a
...
...
@@ -22,7 +22,7 @@
#define SOUND_BUS_NAME "i2c2"
#define TX_FIFO_SIZE (4096)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
__attribute__
((
at
(
0x2FFC2000
)))
static
rt_uint8_t
AUDIO_TX_FIFO
[
TX_FIFO_SIZE
];
#elif defined ( __GNUC__ )
static
rt_uint8_t
AUDIO_TX_FIFO
[
TX_FIFO_SIZE
]
__attribute__
((
section
(
".AudioSection"
)));
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/eth/drv_eth.c
浏览文件 @
5187d75a
...
...
@@ -44,7 +44,7 @@ __no_init static TxDmaDesc txDmaDesc[ETH_TXBUFNB];
#pragma location = RX_DMA_ADD_BASE
__no_init
static
RxDmaDesc
rxDmaDesc
[
ETH_RXBUFNB
];
#elif defined(__
CC_ARM) || defined(__CLANG_ARM
)
#elif defined(__
ARMCC_VERSION
)
/* transmit buffer */
static
rt_uint8_t
txBuffer
[
ETH_TXBUFNB
][
ETH_TX_BUF_SIZE
]
__attribute__
((
at
(
TX_ADD_BASE
)));
/* Receive buffer */
...
...
bsp/stm32/stm32u575-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/stm32/stm32wb55-st-nucleo/board/board.h
浏览文件 @
5187d75a
...
...
@@ -29,7 +29,7 @@ extern "C" {
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/swm320-lq100/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -34,7 +34,7 @@ extern "C"
#define EXT_SRAM_END (EXT_SRAM_BASE + EXT_SRAM_SIZE)
#endif
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/swm320/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -34,7 +34,7 @@ extern "C"
#define EXT_SRAM_END (EXT_SRAM_BASE + EXT_SRAM_SIZE)
#endif
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/tm4c123bsp/board/board.h
浏览文件 @
5187d75a
...
...
@@ -18,7 +18,7 @@
#define TM4C123_SRAM1_START (0x20000000)
#define TM4C123_SRAM1_END (TM4C123_SRAM1_START + 32 * 1024) // end address = 0x20000000(base adddress) + 32K(RAM size)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM
$$
ZI
$$
Limit
;
// RW_IRAM
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/wch/arm/ch32f103c8-core/board/board.h
浏览文件 @
5187d75a
...
...
@@ -26,7 +26,7 @@ extern "C" {
#define CH32_SRAM_SIZE 20
#define CH32_SRAM_END (0x20000000 + CH32_SRAM_SIZE * 1024)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
bsp/yichip/yc3121-pos/drivers/board.h
浏览文件 @
5187d75a
...
...
@@ -28,7 +28,7 @@
#endif
#define SRAM_END (SRAM_BASE + SRAM_SIZE)
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
Image
$$
RW_IRAM1
$$
ZI
$$
Limit
;
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#elif __ICCARM__
...
...
components/cplusplus/cxx_crt_init.c
浏览文件 @
5187d75a
...
...
@@ -13,7 +13,7 @@
#include <rtthread.h>
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
void
$
Super
$$
__cpp_initialize__aeabi_
(
void
);
/* we need to change the cpp_initialize order */
RT_WEAK
void
$
Sub
$$
__cpp_initialize__aeabi_
(
void
)
...
...
@@ -36,7 +36,7 @@ RT_WEAK void *__dso_handle = 0;
RT_WEAK
int
cplusplus_system_init
(
void
)
{
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
/* If there is no SHT$$INIT_ARRAY, calling
* $Super$$__cpp_initialize__aeabi_() will cause fault. At least until Keil5.12
* the problem still exists. So we have to initialize the C++ runtime by ourself.
...
...
components/libc/compilers/armlibc/syscalls.c
浏览文件 @
5187d75a
...
...
@@ -30,11 +30,11 @@
#define DBG_LVL DBG_INFO
#include <rtdbg.h>
#ifdef __
CLANG_ARM
#ifdef __
clang__
__asm
(
".global __use_no_semihosting
\n\t
"
);
#else
#pragma import(__use_no_semihosting_swi)
#endif
/* __CLANG_ARM */
#endif
/* Standard IO device handles. */
#define STDIN 0
...
...
components/utilities/utest/utest.c
浏览文件 @
5187d75a
...
...
@@ -68,7 +68,7 @@ void utest_log_lv_set(rt_uint8_t lv)
int
utest_init
(
void
)
{
/* initialize the utest commands table.*/
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
/* ARM C Compiler */
#if defined(__
ARMCC_VERSION
)
/* ARM C Compiler */
extern
const
int
UtestTcTab
$$
Base
;
extern
const
int
UtestTcTab
$$
Limit
;
tc_table
=
(
utest_tc_export_t
)
&
UtestTcTab
$$
Base
;
...
...
components/utilities/var_export/var_export.c
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@ static rt_size_t ve_exporter_num = 0;
#endif
/* for ARM C and IAR Compiler */
#if defined(__
CC_ARM) || defined(__CLANG_ARM
) || defined (__ICCARM__) || defined(__ICCRX__)
#if defined(__
ARMCC_VERSION
) || defined (__ICCARM__) || defined(__ICCRX__)
static
RT_USED
const
struct
ve_exporter
__ve_table_start
RT_SECTION
(
"0.""VarExpTab"
)
=
{
"ve_start"
,
"ve_start"
,
0
};
...
...
@@ -43,7 +43,7 @@ RT_USED const struct ve_exporter __ve_table_end = { "ve_end", "ve_end", 2};
int
var_export_init
(
void
)
{
/* initialize the var export table.*/
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
/* for ARM C Compiler */
#if defined(__
ARMCC_VERSION
)
/* for ARM C Compiler */
ve_exporter_table
=
&
__ve_table_start
+
1
;
ve_exporter_num
=
&
__ve_table_end
-
&
__ve_table_start
;
#elif defined (__GNUC__)
/* for GCC Compiler */
...
...
@@ -94,7 +94,7 @@ int var_export_init(void)
}
}
ve_exporter_table
=
ve_exporter_tab
;
#endif
/* __
CC_ARM || __CLANG_ARM
*/
#endif
/* __
ARMCC_VERSION
*/
return
ve_exporter_num
;
}
...
...
include/rtdef.h
浏览文件 @
5187d75a
...
...
@@ -115,10 +115,6 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#define RT_MB_ENTRY_MAX RT_UINT16_MAX
/**< Maxium number of mailbox .entry */
#define RT_MQ_ENTRY_MAX RT_UINT16_MAX
/**< Maxium number of message queue .entry */
#if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#define __CLANG_ARM
#endif
#define RT_UNUSED(x) ((void)x)
/* Compiler Related Definitions */
...
...
libcpu/arm/cortex-m3/cpuport.c
浏览文件 @
5187d75a
...
...
@@ -385,7 +385,7 @@ __asm int __rt_ffs(int value)
exit
BX
lr
}
#elif defined(__
CLANG_ARM
)
#elif defined(__
clang__
)
int
__rt_ffs
(
int
value
)
{
__asm
volatile
(
...
...
libcpu/arm/cortex-m33/cpuport.c
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@
#include <rtthread.h>
#if
/* ARMCC */
( (defined ( __CC_ARM ) && defined ( __TARGET_FPU_VFP )) \
/* Clang */
|| (defined ( __
CLANG_ARM
) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) \
/* Clang */
|| (defined ( __
clang__
) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) \
/* IAR */
|| (defined ( __ICCARM__ ) && defined ( __ARMVFP__ )) \
/* GNU */
|| (defined ( __GNUC__ ) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) )
#define USE_FPU 1
...
...
@@ -472,7 +472,7 @@ __asm int __rt_ffs(int value)
exit
BX
lr
}
#elif defined(__
CLANG_ARM
)
#elif defined(__
clang__
)
int
__rt_ffs
(
int
value
)
{
if
(
value
==
0
)
return
value
;
...
...
libcpu/arm/cortex-m33/trustzone.c
浏览文件 @
5187d75a
...
...
@@ -37,7 +37,7 @@ static __inline rt_uint32_t __get_IPSR(void)
register
rt_uint32_t
result
__asm
(
"ipsr"
);
return
(
result
);
}
#elif defined(__
CLANG_ARM
)
#elif defined(__
clang__
)
__attribute__
((
always_inline
))
static
__inline
rt_uint32_t
__get_IPSR
(
void
)
{
rt_uint32_t
result
;
...
...
libcpu/arm/cortex-m4/cpuport.c
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@
#include <rtthread.h>
#if
/* ARMCC */
( (defined ( __CC_ARM ) && defined ( __TARGET_FPU_VFP )) \
/* Clang */
|| (defined ( __
CLANG_ARM
) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) \
/* Clang */
|| (defined ( __
clang__
) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) \
/* IAR */
|| (defined ( __ICCARM__ ) && defined ( __ARMVFP__ )) \
/* GNU */
|| (defined ( __GNUC__ ) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) )
#define USE_FPU 1
...
...
@@ -469,7 +469,7 @@ __asm int __rt_ffs(int value)
exit
BX
lr
}
#elif defined(__
CLANG_ARM
)
#elif defined(__
clang__
)
int
__rt_ffs
(
int
value
)
{
__asm
volatile
(
...
...
libcpu/arm/cortex-m7/cpuport.c
浏览文件 @
5187d75a
...
...
@@ -20,7 +20,7 @@
#include <rtthread.h>
#if
/* ARMCC */
( (defined ( __CC_ARM ) && defined ( __TARGET_FPU_VFP )) \
/* Clang */
|| (defined ( __
CLANG_ARM
) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) \
/* Clang */
|| (defined ( __
clang__
) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) \
/* IAR */
|| (defined ( __ICCARM__ ) && defined ( __ARMVFP__ )) \
/* GNU */
|| (defined ( __GNUC__ ) && defined ( __VFP_FP__ ) && !defined(__SOFTFP__)) )
#define USE_FPU 1
...
...
@@ -469,7 +469,7 @@ __asm int __rt_ffs(int value)
exit
BX
lr
}
#elif defined(__
CLANG_ARM
)
#elif defined(__
clang__
)
int
__rt_ffs
(
int
value
)
{
__asm
volatile
(
...
...
libcpu/sim/win32/startup.c
浏览文件 @
5187d75a
...
...
@@ -199,7 +199,7 @@ void rt_application_init(void);
void
rt_hw_board_init
(
void
);
int
rtthread_startup
(
void
);
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
extern
int
$
Super
$$
main
(
void
);
/* re-define main function */
int
$
Sub
$$
main
(
void
)
...
...
@@ -248,7 +248,7 @@ void main_thread_entry(void *parameter)
rt_hw_secondary_cpu_up
();
#endif
/* invoke system main function */
#if defined(__
CC_ARM) || defined(__CLANG_ARM
)
#if defined(__
ARMCC_VERSION
)
{
extern
int
$
Super
$$
main
(
void
);
$
Super
$$
main
();
/* for ARMCC. */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录