提交 d092105f 编写于 作者: B bernard

Add tap netif driver

上级 1ffb99e6
......@@ -22,7 +22,11 @@
void rt_init_thread_entry(void *parameter)
{
#ifdef RT_USING_LWIP
#ifdef RT_USING_TAPNETIF
tap_netif_hw_init();
#else
pcap_netif_hw_init();
#endif
#endif
rt_platform_init();
......
......@@ -26,8 +26,10 @@ if GetDepend('RT_USING_DFS_WINSHAREDIR') == False:
SrcRemove(src, 'dfs_win32.c')
if GetDepend('RT_USING_MODULE') == False:
SrcRemove(src, ['module_win32.c'])
if GetDepend('RT_USING_TAPNETIF') == False:
SrcRemove(src, ['tap_netif.c'])
if sys.platform[0:5]=="linux": #check whether under linux
SrcRemove(src, ['module_win32.c', 'dfs_win32.c'])
SrcRemove(src, ['module_win32.c', 'dfs_win32.c', 'tap_netif.c'])
group = DefineGroup('Drivers', src, depend = [''],
CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH)
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册