From 692e597847c53fe7bb248836f74795eb39e37b0c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 29 Oct 2014 13:32:36 +0000 Subject: [PATCH] [BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB --- bsp/at91sam9260/rtconfig.h | 2 +- bsp/mini2440/rtconfig.h | 4 ++-- bsp/stm32f0x/rtconfig.h | 15 +-------------- bsp/zynq7000/rtconfig.h | 4 ++-- 4 files changed, 6 insertions(+), 19 deletions(-) diff --git a/bsp/at91sam9260/rtconfig.h b/bsp/at91sam9260/rtconfig.h index 176c84c0a0..4a4b08d0ab 100755 --- a/bsp/at91sam9260/rtconfig.h +++ b/bsp/at91sam9260/rtconfig.h @@ -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 */ diff --git a/bsp/mini2440/rtconfig.h b/bsp/mini2440/rtconfig.h index 2e4c05bbce..b85996ab24 100644 --- a/bsp/mini2440/rtconfig.h +++ b/bsp/mini2440/rtconfig.h @@ -87,8 +87,8 @@ // //
-// -#define RT_USING_NEWLIB +// +#define RT_USING_LIBC // #define RT_USING_PTHREADS //
diff --git a/bsp/stm32f0x/rtconfig.h b/bsp/stm32f0x/rtconfig.h index c96e27df30..f72cdfa6d3 100644 --- a/bsp/stm32f0x/rtconfig.h +++ b/bsp/stm32f0x/rtconfig.h @@ -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 */ diff --git a/bsp/zynq7000/rtconfig.h b/bsp/zynq7000/rtconfig.h index bc015321d0..bf078f7045 100644 --- a/bsp/zynq7000/rtconfig.h +++ b/bsp/zynq7000/rtconfig.h @@ -103,8 +103,8 @@ // //
-// -#define RT_USING_NEWLIB +// +#define RT_USING_LIBC // #define RT_USING_PTHREADS //