Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lfmiao0
rt-thread
提交
b7a71b85
R
rt-thread
项目概览
lfmiao0
/
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,发现更多精彩内容 >>
未验证
提交
b7a71b85
编写于
2月 24, 2021
作者:
B
Bernard Xiong
提交者:
GitHub
2月 24, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #4371 from mysterywolf/fixold
[libc] 去除RT_USING_NOLIBC 历史遗留
上级
86aec637
bf7a3af6
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
2 addition
and
10 deletion
+2
-10
bsp/efm32/rtconfig.h
bsp/efm32/rtconfig.h
+0
-1
bsp/simulator/rtconfig_project.h
bsp/simulator/rtconfig_project.h
+0
-3
bsp/taihu/rtconfig.h
bsp/taihu/rtconfig.h
+0
-1
components/libc/compilers/common/readme.md
components/libc/compilers/common/readme.md
+2
-2
tools/building.py
tools/building.py
+0
-3
未找到文件。
bsp/efm32/rtconfig.h
浏览文件 @
b7a71b85
...
@@ -211,7 +211,6 @@
...
@@ -211,7 +211,6 @@
#endif
#endif
/* SECTION: Runtime library */
/* SECTION: Runtime library */
// #define RT_USING_NOLIBC
// #define RT_USING_NEWLIB
// #define RT_USING_NEWLIB
#define RT_LIBC_USING_TIME
#define RT_LIBC_USING_TIME
...
...
bsp/simulator/rtconfig_project.h
浏览文件 @
b7a71b85
...
@@ -17,9 +17,6 @@
...
@@ -17,9 +17,6 @@
#pragma warning(disable:4267)
/* to ignore: warning C4267: conversion from 'size_t' to 'rt_size_t', possible loss of data */
#pragma warning(disable:4267)
/* to ignore: warning C4267: conversion from 'size_t' to 'rt_size_t', possible loss of data */
#pragma warning(disable:4244)
/* to ignore: warning C4244: '=' : conversion from '__w64 int' to 'rt_size_t', possible loss of data */
#pragma warning(disable:4244)
/* to ignore: warning C4244: '=' : conversion from '__w64 int' to 'rt_size_t', possible loss of data */
#elif defined(__GNUC__)
#define RT_USING_NOLIBC
#endif
/* end of _MSC_VER */
#endif
/* end of _MSC_VER */
#endif
#endif
bsp/taihu/rtconfig.h
浏览文件 @
b7a71b85
...
@@ -53,7 +53,6 @@
...
@@ -53,7 +53,6 @@
/* Using Small MM*/
/* Using Small MM*/
#define RT_USING_SMALL_MEM
#define RT_USING_SMALL_MEM
// #define RT_USING_NOLIBC
#define RT_TINY_SIZE
#define RT_TINY_SIZE
/* SECTION: Device System */
/* SECTION: Device System */
...
...
components/libc/compilers/common/readme.md
浏览文件 @
b7a71b85
## Attentions
## Attentions
1.
This folder is "common" for armlibc newlibc and dlib.
It's not "common" for minilibc.
1.
This folder is "common" for armlibc newlibc and dlib.
2.
If you want to add new
.c
files, please do not forget to fix SConscript file too. eg:
2.
If you want to add new
`.c`
files, please do not forget to fix SConscript file too. eg:
```
python
```
python
if
GetDepend
(
'RT_USING_POSIX'
)
==
False
:
if
GetDepend
(
'RT_USING_POSIX'
)
==
False
:
...
...
tools/building.py
浏览文件 @
b7a71b85
...
@@ -276,9 +276,6 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
...
@@ -276,9 +276,6 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
except
KeyError
:
except
KeyError
:
print
(
'Unknow target: '
+
tgt_name
+
'. Avaible targets: '
+
', '
.
join
(
tgt_dict
.
keys
()))
print
(
'Unknow target: '
+
tgt_name
+
'. Avaible targets: '
+
', '
.
join
(
tgt_dict
.
keys
()))
sys
.
exit
(
1
)
sys
.
exit
(
1
)
elif
(
GetDepend
(
'RT_USING_NEWLIB'
)
==
False
and
GetDepend
(
'RT_USING_NOLIBC'
)
==
False
)
\
and
rtconfig
.
PLATFORM
==
'gcc'
:
AddDepend
(
'RT_USING_MINILIBC'
)
# auto change the 'RTT_EXEC_PATH' when 'rtconfig.EXEC_PATH' get failed
# auto change the 'RTT_EXEC_PATH' when 'rtconfig.EXEC_PATH' get failed
if
not
os
.
path
.
exists
(
rtconfig
.
EXEC_PATH
):
if
not
os
.
path
.
exists
(
rtconfig
.
EXEC_PATH
):
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录