diff --git a/bsp/beaglebone/applications/application.c b/bsp/beaglebone/applications/application.c index f34821e748..540e31bc60 100644 --- a/bsp/beaglebone/applications/application.c +++ b/bsp/beaglebone/applications/application.c @@ -24,9 +24,7 @@ int rt_application_init() { /* do component initialization */ rt_components_init(); -#ifdef RT_USING_NEWLIB - libc_system_init(RT_CONSOLE_DEVICE_NAME); -#endif + #ifdef RT_USING_GDB gdb_set_device("uart4"); gdb_start(); diff --git a/bsp/beaglebone/rtconfig.h b/bsp/beaglebone/rtconfig.h index 018b2862f1..44b271263f 100644 --- a/bsp/beaglebone/rtconfig.h +++ b/bsp/beaglebone/rtconfig.h @@ -122,8 +122,8 @@ // //
-// -//#define RT_USING_NEWLIB +// +#define RT_USING_LIBC // #define RT_USING_PTHREADS //
diff --git a/bsp/lpc408x/rtconfig.h b/bsp/lpc408x/rtconfig.h index defd591de3..27903b6dd8 100644 --- a/bsp/lpc408x/rtconfig.h +++ b/bsp/lpc408x/rtconfig.h @@ -105,7 +105,7 @@ //
// -// #define RT_USING_LIBC +#define RT_USING_LIBC // #define RT_USING_PTHREADS //