mirror of
https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32.git
synced 2025-02-09 11:53:21 +08:00
de7bad9245
2、【创建】Eclipse工程,并支持IAR插件调试 3、【创建】Keil工程,位于/RVMDK目录下 4、【创建】IAR工程,位于/EWARM目录下 5、【添加】RT-Thread1.1.1操作系统支持 6、【添加】LED1、LED2系统运行指示灯 7、【修改】Readdme.md文件 Signed-off-by: armink <armink.ztl@gmail.com>
91 lines
1.7 KiB
C
91 lines
1.7 KiB
C
/*
|
|
* 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 <rtthread.h>
|
|
|
|
#ifdef RT_USING_FINSH
|
|
#include <finsh.h>
|
|
#include <shell.h>
|
|
#endif
|
|
|
|
#ifdef RT_USING_LWIP
|
|
#include <lwip/sys.h>
|
|
#include <netif/ethernetif.h>
|
|
extern void lwip_system_init(void);
|
|
#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_NEWLIB
|
|
#include <libc.h>
|
|
#endif
|
|
#ifdef RT_USING_PTHREADS
|
|
#include <pthread.h>
|
|
#endif
|
|
|
|
#ifdef RT_USING_MODULE
|
|
#include <rtm.h>
|
|
#endif
|
|
|
|
#ifdef RT_USING_RTGUI
|
|
#include <rtgui/rtgui_system.h>
|
|
#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
|