提交 25220a4a 编写于 作者: qiuyiuestc's avatar qiuyiuestc

add net apps to mini2440 project

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@294 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 582dd709
...@@ -33,6 +33,7 @@ if rtconfig.RT_USING_DFS: ...@@ -33,6 +33,7 @@ if rtconfig.RT_USING_DFS:
if rtconfig.RT_USING_LWIP: if rtconfig.RT_USING_LWIP:
objs = objs + SConscript(RTT_ROOT + '/net/lwip/SConscript', variant_dir='build/net/lwip', duplicate=0) objs = objs + SConscript(RTT_ROOT + '/net/lwip/SConscript', variant_dir='build/net/lwip', duplicate=0)
objs = objs + SConscript(RTT_ROOT + '/net/apps/SConscript', variant_dir='build/net/apps', duplicate=0)
if rtconfig.RT_USING_RTGUI: if rtconfig.RT_USING_RTGUI:
objs = objs + SConscript(RTT_ROOT + '/rtgui/SConscript', variant_dir='build/rtgui', duplicate=0) objs = objs + SConscript(RTT_ROOT + '/rtgui/SConscript', variant_dir='build/rtgui', duplicate=0)
......
...@@ -591,10 +591,10 @@ void rt_hw_dm9000_init() ...@@ -591,10 +591,10 @@ void rt_hw_dm9000_init()
/* Enable EINT7 */ /* Enable EINT7 */
EINTMASK = EINTMASK & (~(1<<7)); EINTMASK = EINTMASK & (~(1<<7));
/* Set GPA15 as nGCS4 */ /* Set GPA15 as nGCS4 */
//GPACON |= 1 << 15; GPACON |= 1 << 15;
/* DM9000 width 16, wait enable */ /* DM9000 width 16, wait enable */
//BWSCON = BWSCON & (~(0x7<<16)) | (0x5<<16); BWSCON = BWSCON & (~(0x7<<16)) | (0x5<<16);
//BANKCON4 = (1<<13) | (1<<11) | (0x6<<8) | (1<<6) | (1<<4) | (0<<2) | (0); BANKCON4 = (1<<13) | (1<<11) | (0x6<<8) | (1<<6) | (1<<4) | (0<<2) | (0);
rt_sem_init(&sem_ack, "tx_ack", 1, RT_IPC_FLAG_FIFO); rt_sem_init(&sem_ack, "tx_ack", 1, RT_IPC_FLAG_FIFO);
rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO);
......
Import('env')
Import('rtconfig')
Import('RTT_ROOT')
# The set of source files associated with this SConscript file.
src_local = Glob('*.c')
obj = env.Object(src_local)
Return('obj')
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册