Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2301_76519099
rt-thread
提交
96b081fb
R
rt-thread
项目概览
2301_76519099
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
3
Star
1
Fork
1
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
96b081fb
编写于
10月 30, 2017
作者:
T
tanek liang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp] fix gcc build error
上级
60e3e579
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
6 addition
and
13 deletion
+6
-13
bsp/imxrt1052-evk/Libraries/SConscript
bsp/imxrt1052-evk/Libraries/SConscript
+2
-9
bsp/imxrt1052-evk/imxrt1052_sdram.ld
bsp/imxrt1052-evk/imxrt1052_sdram.ld
+3
-3
bsp/imxrt1052-evk/rtconfig.py
bsp/imxrt1052-evk/rtconfig.py
+1
-1
未找到文件。
bsp/imxrt1052-evk/Libraries/SConscript
浏览文件 @
96b081fb
...
...
@@ -10,24 +10,17 @@ SrcRemove(src, 'drivers/dataqueue.c')
src
+=
Glob
(
'common/chip/*.c'
)
src
+=
[
cwd
+
'/system_MIMXRT1052.c'
]
CPPPATH
=
[
cwd
,
cwd
+
'/drivers'
,
cwd
+
'/utilities'
,
cwd
+
'/CMSIS/
i
nclude'
]
CPPPATH
=
[
cwd
,
cwd
+
'/drivers'
,
cwd
+
'/utilities'
,
cwd
+
'/CMSIS/
I
nclude'
]
CPPDEFINES
=
[
'CPU_MIMXRT1052DVL6A'
,
'SKIP_SYSCLK_INIT'
,
'EVK_MCIMXRM'
,
'FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1'
]
# CPPDEFINES = ['CPU_MIMXRT1052DVL6A', 'EVK_MCIMXRM']
# add for startup script
if
rtconfig
.
CROSS_TOOL
==
'gcc'
:
src
+=
[
cwd
+
'/gcc/startup_MIMXRT1052.
s
'
]
src
+=
[
cwd
+
'/gcc/startup_MIMXRT1052.
S
'
]
elif
rtconfig
.
CROSS_TOOL
==
'keil'
:
src
+=
[
cwd
+
'/arm/startup_MIMXRT1052.s'
]
elif
rtconfig
.
CROSS_TOOL
==
'iar'
:
src
+=
[
cwd
+
'/iar/startup_MIMXRT1052.s'
]
# if GetDepend('RT_USING_IMX_MID_SDMMC'):
# src += Glob('middleware/sdmmc/src/*.c')
# CPPPATH += [cwd + '/middleware/sdmmc/inc']
# CPPPATH += [cwd + '/middleware/sdmmc/port']
# CPPPATH += [cwd + '/middleware/sdmmc/port/usdhc/polling']
group
=
DefineGroup
(
'Libraries'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
,
CPPDEFINES
=
CPPDEFINES
)
Return
(
'group'
)
bsp/imxrt1052-evk/imxrt1052_sdram.ld
浏览文件 @
96b081fb
...
...
@@ -53,9 +53,9 @@ STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
/* Specify the memory areas */
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x
00000000, LENGTH = 0x0
0000400
m_text (RX) : ORIGIN = 0x
00000400, LENGTH = 0x0001
FC00
m_data (RW) : ORIGIN = 0x80000000, LENGTH = 0x01
E
00000
m_interrupts (RX) : ORIGIN = 0x
80000000, LENGTH = 0x8
0000400
m_text (RX) : ORIGIN = 0x
80000400, LENGTH = 0x8007
FC00
m_data (RW) : ORIGIN = 0x80000000, LENGTH = 0x01
6
00000
m_ncache (RW) : ORIGIN = 0x81E00000, LENGTH = 0x00200000
}
...
...
bsp/imxrt1052-evk/rtconfig.py
浏览文件 @
96b081fb
...
...
@@ -40,7 +40,7 @@ if PLATFORM == 'gcc':
OBJCPY
=
PREFIX
+
'objcopy'
STRIP
=
PREFIX
+
'strip'
DEVICE
=
' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections'
DEVICE
=
'
-std=c99
-mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -g -Wall -DUSE_HAL_DRIVER -D__ASSEMBLY__ -D__FPU_USED -eentry'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=imxrt1052_sdram.map,-cref,-u,Reset_Handler -T imxrt1052_sdram.ld'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录