Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
码匠许师傅
rt-thread
提交
732382c6
R
rt-thread
项目概览
码匠许师傅
/
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,发现更多精彩内容 >>
提交
732382c6
编写于
11月 21, 2020
作者:
T
tangweikang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[K210] update compile parameters and startup_gcc.S
上级
c8deffcf
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
33 addition
and
33 deletion
+33
-33
bsp/k210/rtconfig.py
bsp/k210/rtconfig.py
+1
-1
libcpu/risc-v/k210/startup_gcc.S
libcpu/risc-v/k210/startup_gcc.S
+32
-32
未找到文件。
bsp/k210/rtconfig.py
浏览文件 @
732382c6
...
...
@@ -38,7 +38,7 @@ if PLATFORM == 'gcc':
OBJDUMP
=
PREFIX
+
'objdump'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcmodel=medany -march=rv64imaf
dc -mabi=lp64d
'
DEVICE
=
' -mcmodel=medany -march=rv64imaf
c -mabi=lp64f -fsingle-precision-constant
'
CFLAGS
=
DEVICE
+
' -fno-common -ffunction-sections -fdata-sections -fstrict-volatile-bitfields'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp'
LFLAGS
=
DEVICE
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,_start -T link.lds'
...
...
libcpu/risc-v/k210/startup_gcc.S
浏览文件 @
732382c6
...
...
@@ -67,38 +67,38 @@ _start:
csrs
mstatus
,
t0
fssr
x0
fmv.
d
.x
f0
,
x0
fmv.
d
.x
f1
,
x0
fmv.
d
.x
f2
,
x0
fmv.
d
.x
f3
,
x0
fmv.
d
.x
f4
,
x0
fmv.
d
.x
f5
,
x0
fmv.
d
.x
f6
,
x0
fmv.
d
.x
f7
,
x0
fmv.
d
.x
f8
,
x0
fmv.
d
.x
f9
,
x0
fmv.
d
.x
f10
,
x0
fmv.
d
.x
f11
,
x0
fmv.
d
.x
f12
,
x0
fmv.
d
.x
f13
,
x0
fmv.
d
.x
f14
,
x0
fmv.
d
.x
f15
,
x0
fmv.
d
.x
f16
,
x0
fmv.
d
.x
f17
,
x0
fmv.
d
.x
f18
,
x0
fmv.
d
.x
f19
,
x0
fmv.
d
.x
f20
,
x0
fmv.
d
.x
f21
,
x0
fmv.
d
.x
f22
,
x0
fmv.
d
.x
f23
,
x0
fmv.
d
.x
f24
,
x0
fmv.
d
.x
f25
,
x0
fmv.
d
.x
f26
,
x0
fmv.
d
.x
f27
,
x0
fmv.
d
.x
f28
,
x0
fmv.
d
.x
f29
,
x0
fmv.
d
.x
f30
,
x0
fmv.
d
.x
f31
,
x0
fmv.
w
.x
f0
,
x0
fmv.
w
.x
f1
,
x0
fmv.
w
.x
f2
,
x0
fmv.
w
.x
f3
,
x0
fmv.
w
.x
f4
,
x0
fmv.
w
.x
f5
,
x0
fmv.
w
.x
f6
,
x0
fmv.
w
.x
f7
,
x0
fmv.
w
.x
f8
,
x0
fmv.
w
.x
f9
,
x0
fmv.
w
.x
f10
,
x0
fmv.
w
.x
f11
,
x0
fmv.
w
.x
f12
,
x0
fmv.
w
.x
f13
,
x0
fmv.
w
.x
f14
,
x0
fmv.
w
.x
f15
,
x0
fmv.
w
.x
f16
,
x0
fmv.
w
.x
f17
,
x0
fmv.
w
.x
f18
,
x0
fmv.
w
.x
f19
,
x0
fmv.
w
.x
f20
,
x0
fmv.
w
.x
f21
,
x0
fmv.
w
.x
f22
,
x0
fmv.
w
.x
f23
,
x0
fmv.
w
.x
f24
,
x0
fmv.
w
.x
f25
,
x0
fmv.
w
.x
f26
,
x0
fmv.
w
.x
f27
,
x0
fmv.
w
.x
f28
,
x0
fmv.
w
.x
f29
,
x0
fmv.
w
.x
f30
,
x0
fmv.
w
.x
f31
,
x0
.
option
push
.
option
norelax
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录