mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 09:32:28 +08:00
[BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
|
||||
/* SECTION: the runtime libc library */
|
||||
/* the runtime libc library */
|
||||
#define RT_USING_NEWLIB
|
||||
#define RT_USING_LIBC
|
||||
#define RT_USING_PTHREADS
|
||||
|
||||
/* Using Module System */
|
||||
|
||||
@@ -87,8 +87,8 @@
|
||||
// </section>
|
||||
|
||||
// <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" />
|
||||
#define RT_USING_NEWLIB
|
||||
// <bool name="RT_USING_LIBC" description="Using C library" default="true" />
|
||||
#define RT_USING_LIBC
|
||||
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
|
||||
#define RT_USING_PTHREADS
|
||||
// </section>
|
||||
|
||||
@@ -87,20 +87,7 @@
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
|
||||
/* SECTION: libc management */
|
||||
#ifdef __CC_ARM
|
||||
/* #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
|
||||
#define RT_USING_LIBC
|
||||
|
||||
/* SECTION: device filesystem */
|
||||
/* #define RT_USING_DFS */
|
||||
|
||||
@@ -103,8 +103,8 @@
|
||||
// </section>
|
||||
|
||||
// <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" />
|
||||
#define RT_USING_NEWLIB
|
||||
// <bool name="RT_USING_LIBC" description="Using C library" default="true" />
|
||||
#define RT_USING_LIBC
|
||||
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
|
||||
#define RT_USING_PTHREADS
|
||||
// </section>
|
||||
|
||||
Reference in New Issue
Block a user