Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
SummerGao.
rt-thread
提交
e4edf7e1
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,体验更适合开发者的 AI 搜索 >>
未验证
提交
e4edf7e1
编写于
2月 11, 2023
作者:
B
Bernard Xiong
提交者:
GitHub
2月 11, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BSP] Add color build for qemu gcc config. (#6924)
上级
ee121d25
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
7 deletion
+5
-7
bsp/qemu-vexpress-a9/rtconfig.py
bsp/qemu-vexpress-a9/rtconfig.py
+2
-2
bsp/qemu-virt64-aarch64/rtconfig.py
bsp/qemu-virt64-aarch64/rtconfig.py
+2
-2
bsp/qemu-virt64-riscv/rtconfig.py
bsp/qemu-virt64-riscv/rtconfig.py
+1
-3
未找到文件。
bsp/qemu-vexpress-a9/rtconfig.py
浏览文件 @
e4edf7e1
...
...
@@ -52,8 +52,8 @@ if PLATFORM == 'gcc':
AFPFLAGS
=
' -mfloat-abi=softfp -mfpu=neon'
DEVICE
=
' -march=armv7-a -mtune=cortex-a7 -ftree-vectorize -ffast-math -funwind-tables -fno-strict-aliasing'
CXXFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall'
CFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall -Wno-cpp -std=gnu99 -D_POSIX_SOURCE '
CXXFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall
-fdiagnostics-color=always
'
CFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall -Wno-cpp -std=gnu99 -D_POSIX_SOURCE
-fdiagnostics-color=always
'
AFLAGS
=
DEVICE
+
' -c'
+
AFPFLAGS
+
' -x assembler-with-cpp'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors -T '
+
LINK_SCRIPT
+
' -lsupc++ -lgcc -static'
CPATH
=
''
...
...
bsp/qemu-virt64-aarch64/rtconfig.py
浏览文件 @
e4edf7e1
...
...
@@ -25,8 +25,8 @@ if PLATFORM == 'gcc':
AFPFLAGS
=
' '
DEVICE
=
' -march=armv8-a -mtune=cortex-a53 -ftree-vectorize -ffast-math -funwind-tables -fno-strict-aliasing'
CXXFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall'
CFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall -Wno-cpp -std=gnu99'
CXXFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall
-fdiagnostics-color=always
'
CFLAGS
=
DEVICE
+
CFPFLAGS
+
' -Wall -Wno-cpp -std=gnu99
-fdiagnostics-color=always
'
AFLAGS
=
' -c'
+
AFPFLAGS
+
' -x assembler-with-cpp'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors -T link.lds'
+
' -lsupc++ -lgcc -static'
CPATH
=
''
...
...
bsp/qemu-virt64-riscv/rtconfig.py
浏览文件 @
e4edf7e1
...
...
@@ -12,7 +12,6 @@ if os.getenv('RTT_CC'):
if
CROSS_TOOL
==
'gcc'
:
PLATFORM
=
'gcc'
#EXEC_PATH = r'/home/lizhirui/workspace/riscv64-toolchains/bin'
EXEC_PATH
=
r
'/opt/rtt_riscv64_musl/bin'
else
:
print
(
'Please make sure your toolchains is GNU GCC!'
)
...
...
@@ -26,7 +25,6 @@ BUILD = 'debug'
if
PLATFORM
==
'gcc'
:
# toolchains
PREFIX
=
os
.
getenv
(
'RTT_CC_PREFIX'
)
or
'riscv64-unknown-elf-'
# PREFIX = os.getenv('RTT_CC_PREFIX') or 'riscv64-unknown-linux-musl-'
CC
=
PREFIX
+
'gcc'
CXX
=
PREFIX
+
'g++'
AS
=
PREFIX
+
'gcc'
...
...
@@ -38,7 +36,7 @@ if PLATFORM == 'gcc':
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcmodel=medany -march=rv64imafdc -mabi=lp64 '
CFLAGS
=
DEVICE
+
'-ffreestanding -flax-vector-conversions -Wno-cpp -fno-common -ffunction-sections -fdata-sections -fstrict-volatile-bitfields'
CFLAGS
=
DEVICE
+
'-ffreestanding -flax-vector-conversions -Wno-cpp -fno-common -ffunction-sections -fdata-sections -fstrict-volatile-bitfields
-fdiagnostics-color=always
'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -D__ASSEMBLY__ '
LFLAGS
=
DEVICE
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,_start -T link.lds'
+
' -lsupc++ -lgcc -static'
CPATH
=
''
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录