summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-02-25 10:50:21 +0800
committerBernard Xiong <[email protected]>2015-02-25 10:50:21 +0800
commitfbd620a7f4053f68cea82c67a0c7f515f1d02355 (patch)
tree478e31006a72a8621af012a35b7cff396a2d84e8 /include
parentafefbc0e139e467df5e9e56ea3fa7627f3564adc (diff)
[Kernel] Move the components initailzation to the kernel
Diffstat (limited to 'include')
-rw-r--r--include/rtcomponents.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/include/rtcomponents.h b/include/rtcomponents.h
new file mode 100644
index 0000000000..70accb99d1
--- /dev/null
+++ b/include/rtcomponents.h
@@ -0,0 +1,79 @@
+/*
+ * File : rtcomponents.h
+ * header for RT-Thread components
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2012-2015, RT-Thread Development Team
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2012-09-20 Bernard Change the name to components.h
+ * And all components related header files.
+ * 2015-02-06 Bernard Rename the components.h to rtcom.h
+ */
+
+#ifndef RTCOM_H__
+#define RTCOM_H__
+
+#ifdef RT_USING_FINSH
+#include <finsh.h>
+#include <shell.h>
+#endif
+
+#ifdef RT_USING_LWIP
+#include <lwip/sys.h>
+#include <netif/ethernetif.h>
+#endif
+
+#ifdef RT_USING_DFS
+#include <dfs_init.h>
+#include <dfs_fs.h>
+#ifdef RT_USING_DFS_ELMFAT
+#include <dfs_elm.h>
+#endif
+#if defined(RT_USING_LWIP) && defined(RT_USING_DFS_NFS)
+#include <dfs_nfs.h>
+#endif
+#ifdef RT_USING_DFS_ROMFS
+#include <dfs_romfs.h>
+#endif
+#ifdef RT_USING_DFS_DEVFS
+#include <devfs.h>
+#endif
+#ifdef RT_USING_DFS_UFFS
+#include <dfs_uffs.h>
+#endif
+#ifdef RT_USING_DFS_JFFS2
+#include <dfs_jffs2.h>
+#endif
+#ifdef RT_USING_DFS_YAFFS2
+#include <dfs_yaffs2.h>
+#endif
+#ifdef RT_USING_DFS_ROMFS
+#include <dfs_romfs.h>
+#endif
+#endif
+
+#ifdef RT_USING_PTHREADS
+#include <pthread.h>
+#endif
+
+#ifdef RT_USING_MODULE
+#include <rtm.h>
+#endif
+
+#endif
+