/* * File : components_init.h * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2012, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date Author Notes * 2012-09-20 Bernard Change the name to components.h * And all components related header files. */ #ifndef __COMPONENTS_INIT_H__ #define __COMPONENTS_INIT_H__ #include #ifdef RT_USING_FINSH #include #include #endif #ifdef RT_USING_LWIP #include #include extern void lwip_system_init(void); #endif #ifdef RT_USING_DFS #include #include #ifdef RT_USING_DFS_ELMFAT #include #endif #if defined(RT_USING_LWIP) && defined(RT_USING_DFS_NFS) #include #endif #ifdef RT_USING_DFS_ROMFS #include #endif #ifdef RT_USING_DFS_DEVFS #include #endif #ifdef RT_USING_DFS_UFFS #include #endif #ifdef RT_USING_DFS_JFFS2 #include #endif #ifdef RT_USING_DFS_YAFFS2 #include #endif #ifdef RT_USING_DFS_ROMFS #include #endif #endif #ifdef RT_USING_NEWLIB #include #endif #ifdef RT_USING_PTHREADS #include #endif #ifdef RT_USING_MODULE #include #endif #ifdef RT_USING_RTGUI #include #endif #ifdef __cplusplus extern "C" { #endif /** * Initializes components in RT-Thread * notes: this function must be invoked in thread */ void rt_components_init(void); #ifdef __cplusplus } #endif #endif