Skip to content

Commit 692e597

Browse files
committed
[BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB
1 parent 802c768 commit 692e597

File tree

4 files changed

+6
-19
lines changed

4 files changed

+6
-19
lines changed

bsp/at91sam9260/rtconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
/* SECTION: the runtime libc library */
6666
/* the runtime libc library */
67-
#define RT_USING_NEWLIB
67+
#define RT_USING_LIBC
6868
#define RT_USING_PTHREADS
6969

7070
/* Using Module System */

bsp/mini2440/rtconfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
// </section>
8888

8989
// <section name="LIBC" description="C Runtime library setting" default="always" >
90-
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" />
91-
#define RT_USING_NEWLIB
90+
// <bool name="RT_USING_LIBC" description="Using C library" default="true" />
91+
#define RT_USING_LIBC
9292
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
9393
#define RT_USING_PTHREADS
9494
// </section>

bsp/stm32f0x/rtconfig.h

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,7 @@
8787
#define FINSH_USING_DESCRIPTION
8888

8989
/* SECTION: libc management */
90-
#ifdef __CC_ARM
91-
/* #define RT_USING_MINILIBC */
92-
/* #define RT_USING_NEWLIB */
93-
#endif
94-
95-
#ifdef __ICCARM__
96-
/* #define RT_USING_MINILIBC */
97-
/* #define RT_USING_NEWLIB */
98-
#endif
99-
100-
#ifdef __GNUC__
101-
/* #define RT_USING_MINILIBC */
102-
#define RT_USING_NEWLIB
103-
#endif
90+
#define RT_USING_LIBC
10491

10592
/* SECTION: device filesystem */
10693
/* #define RT_USING_DFS */

bsp/zynq7000/rtconfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
// </section>
104104

105105
// <section name="LIBC" description="C Runtime library setting" default="always" >
106-
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" />
107-
#define RT_USING_NEWLIB
106+
// <bool name="RT_USING_LIBC" description="Using C library" default="true" />
107+
#define RT_USING_LIBC
108108
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
109109
#define RT_USING_PTHREADS
110110
// </section>

0 commit comments

Comments
 (0)