diff --git a/bsp/beaglebone/applications/application.c b/bsp/beaglebone/applications/application.c index f34821e748694fd1f751af4cec188a0cd5dfff1a..540e31bc60c113d53484f8fdadd9e5c431898346 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 018b2862f1feb4e8e316ae9a343ebe0a362ec817..44b271263f0f3e8d4e9f174d950bdcdaa018ca41 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 defd591de39a74893fbcfde93d4f51a276f055c4..27903b6dd85a187d2be6949234217f76d0f93727 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 //