提交 692e5978 编写于 作者: B Bernard Xiong

[BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB

上级 802c7684
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
/* SECTION: the runtime libc library */ /* SECTION: the runtime libc library */
/* the runtime libc library */ /* the runtime libc library */
#define RT_USING_NEWLIB #define RT_USING_LIBC
#define RT_USING_PTHREADS #define RT_USING_PTHREADS
/* Using Module System */ /* Using Module System */
......
...@@ -87,8 +87,8 @@ ...@@ -87,8 +87,8 @@
// </section> // </section>
// <section name="LIBC" description="C Runtime library setting" default="always" > // <section name="LIBC" description="C Runtime library setting" default="always" >
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" /> // <bool name="RT_USING_LIBC" description="Using C library" default="true" />
#define RT_USING_NEWLIB #define RT_USING_LIBC
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" /> // <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
#define RT_USING_PTHREADS #define RT_USING_PTHREADS
// </section> // </section>
......
...@@ -87,20 +87,7 @@ ...@@ -87,20 +87,7 @@
#define FINSH_USING_DESCRIPTION #define FINSH_USING_DESCRIPTION
/* SECTION: libc management */ /* SECTION: libc management */
#ifdef __CC_ARM #define RT_USING_LIBC
/* #define RT_USING_MINILIBC */
/* #define RT_USING_NEWLIB */
#endif
#ifdef __ICCARM__
/* #define RT_USING_MINILIBC */
/* #define RT_USING_NEWLIB */
#endif
#ifdef __GNUC__
/* #define RT_USING_MINILIBC */
#define RT_USING_NEWLIB
#endif
/* SECTION: device filesystem */ /* SECTION: device filesystem */
/* #define RT_USING_DFS */ /* #define RT_USING_DFS */
......
...@@ -103,8 +103,8 @@ ...@@ -103,8 +103,8 @@
// </section> // </section>
// <section name="LIBC" description="C Runtime library setting" default="always" > // <section name="LIBC" description="C Runtime library setting" default="always" >
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" /> // <bool name="RT_USING_LIBC" description="Using C library" default="true" />
#define RT_USING_NEWLIB #define RT_USING_LIBC
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" /> // <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
#define RT_USING_PTHREADS #define RT_USING_PTHREADS
// </section> // </section>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册