components.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * File : components.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. * 2015-03-22 Bernard Keep the compatibility.
  27. */
  28. #ifndef COMPONENTS_H__
  29. #define COMPONENTS_H__
  30. #ifdef RT_USING_FINSH
  31. #include <finsh.h>
  32. #include <shell.h>
  33. #endif
  34. #ifdef RT_USING_LWIP
  35. #include <lwip/sys.h>
  36. #include <netif/ethernetif.h>
  37. #endif
  38. #ifdef RT_USING_DFS
  39. #include <dfs_init.h>
  40. #include <dfs_fs.h>
  41. #ifdef RT_USING_DFS_ELMFAT
  42. #include <dfs_elm.h>
  43. #endif
  44. #if defined(RT_USING_LWIP) && defined(RT_USING_DFS_NFS)
  45. #include <dfs_nfs.h>
  46. #endif
  47. #ifdef RT_USING_DFS_ROMFS
  48. #include <dfs_romfs.h>
  49. #endif
  50. #ifdef RT_USING_DFS_DEVFS
  51. #include <devfs.h>
  52. #endif
  53. #ifdef RT_USING_DFS_UFFS
  54. #include <dfs_uffs.h>
  55. #endif
  56. #ifdef RT_USING_DFS_JFFS2
  57. #include <dfs_jffs2.h>
  58. #endif
  59. #ifdef RT_USING_DFS_YAFFS2
  60. #include <dfs_yaffs2.h>
  61. #endif
  62. #ifdef RT_USING_DFS_RAMFS
  63. #include <dfs_ramfs.h>
  64. #endif
  65. #endif
  66. #ifdef RT_USING_PTHREADS
  67. #include <pthread.h>
  68. #endif
  69. #ifdef RT_USING_MODULE
  70. #include <rtm.h>
  71. #endif
  72. #endif