eliminate compiler warning

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1501 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc@gmail.com 2011-06-14 01:09:16 +00:00
parent 28fbe864e4
commit 3d4b5722fc
5 changed files with 15 additions and 7 deletions

View File

@ -125,6 +125,8 @@ void luminaryif_isr(void)
/* a frame has been received */
result = eth_device_ready((struct eth_device*)&(luminaryif_dev->parent));
if(result != RT_EOK) rt_set_errno(-RT_ERROR);
//
// Disable Ethernet RX Interrupt.
//
@ -482,6 +484,6 @@ int rt_hw_luminaryif_init(void)
result = eth_device_init(&(luminaryif_dev->parent), "E0");
return RT_EOK;
return result;
}

View File

@ -119,7 +119,7 @@ File 7,4,<.\Libraries\driverlib\rvmdk\driverlib.lib><driverlib.lib>
Options 1,0,0 // Target 'RT-Thread-lm3s'
Device (LM3S6918)
Device (LM3S8962)
Vendor (Luminary Micro)
Cpu (IRAM(0x20000000-0x2000FFFF) IROM(0-0x3FFFF) CLOCK(8000000) CPUTYPE("Cortex-M3"))
FlashUt ()
@ -200,7 +200,7 @@ Options 1,0,0 // Target 'RT-Thread-lm3s'
ADSLDMC ( --keep __fsym_* --keep __vsym_*)
ADSLDIF ()
ADSLDDW ()
OPTDL (SARMCM3.DLL)()(DLM.DLL)(-pLM3S6918)(SARMCM3.DLL)()(TLM.DLL)(-pLM3S6918)
OPTDL (SARMCM3.DLL)()(DLM.DLL)(-pLM3S8962)(SARMCM3.DLL)()(TLM.DLL)(-pLM3S8962)
OPTDBG 48118,4,()()()()()()()()()() (BIN\lmidk-agdi.dll)()()()
FLASH1 { 1,0,0,0,1,0,0,0,3,16,0,0,0,0,0,0,0,0,0,0 }
FLASH2 (BIN\lmidk-agdi.dll)

View File

@ -16,7 +16,7 @@
/* SECTION: RT_DEBUG */
/* Thread Debug*/
#define RT_DEBUG
/* #define RT_DEBUG */
/* #define RT_THREAD_DEBUG */
/* Using Hook*/

View File

@ -17,6 +17,11 @@
#include "board.h"
#ifdef RT_USING_LWIP
#include <lwip/sys.h>
#include <netif/ethernetif.h>
#endif
/**
* @addtogroup LM3S
*/
@ -31,6 +36,7 @@ extern void finsh_set_device(char* device);
extern int rt_application_init(void);
extern void rt_hw_sdcard_init(void);
extern int rt_hw_luminaryif_init(void);
#ifdef __CC_ARM
extern int Image$$RW_IRAM1$$ZI$$Limit;