rtcomponents.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * File : rtcomponents.h
  3. * header for RT-Thread components
  4. * This file is part of RT-Thread RTOS
  5. * COPYRIGHT (C) 2012-2015, RT-Thread Development Team
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License along
  18. * with this program; if not, write to the Free Software Foundation, Inc.,
  19. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  20. *
  21. * Change Logs:
  22. * Date Author Notes
  23. * 2012-09-20 Bernard Change the name to components.h
  24. * And all components related header files.
  25. * 2015-02-06 Bernard Rename the components.h to rtcom.h
  26. */
  27. #ifndef RTCOM_H__
  28. #define RTCOM_H__
  29. #ifdef RT_USING_FINSH
  30. #include <finsh.h>
  31. #include <shell.h>
  32. #endif
  33. #ifdef RT_USING_LWIP
  34. #include <lwip/sys.h>
  35. #include <netif/ethernetif.h>
  36. #endif
  37. #ifdef RT_USING_DFS
  38. #include <dfs_init.h>
  39. #include <dfs_fs.h>
  40. #ifdef RT_USING_DFS_ELMFAT
  41. #include <dfs_elm.h>
  42. #endif
  43. #if defined(RT_USING_LWIP) && defined(RT_USING_DFS_NFS)
  44. #include <dfs_nfs.h>
  45. #endif
  46. #ifdef RT_USING_DFS_ROMFS
  47. #include <dfs_romfs.h>
  48. #endif
  49. #ifdef RT_USING_DFS_DEVFS
  50. #include <devfs.h>
  51. #endif
  52. #ifdef RT_USING_DFS_UFFS
  53. #include <dfs_uffs.h>
  54. #endif
  55. #ifdef RT_USING_DFS_JFFS2
  56. #include <dfs_jffs2.h>
  57. #endif
  58. #ifdef RT_USING_DFS_YAFFS2
  59. #include <dfs_yaffs2.h>
  60. #endif
  61. #ifdef RT_USING_DFS_ROMFS
  62. #include <dfs_romfs.h>
  63. #endif
  64. #endif
  65. #ifdef RT_USING_PTHREADS
  66. #include <pthread.h>
  67. #endif
  68. #ifdef RT_USING_MODULE
  69. #include <rtm.h>
  70. #endif
  71. #endif