diff --git a/bsp/lm3s/project_lwip_dfs.Opt b/bsp/lm3s/project_lwip_dfs.Opt index 3d25594d9c..f468d6e9ca 100644 --- a/bsp/lm3s/project_lwip_dfs.Opt +++ b/bsp/lm3s/project_lwip_dfs.Opt @@ -17,13 +17,12 @@ GRPOPT 3,(finsh),0,0,0 GRPOPT 4,(LM3S),0,0,0 GRPOPT 5,(driverlib),0,0,0 GRPOPT 6,(Filesystem),0,0,0 -GRPOPT 7,(LwIP),1,0,0 -GRPOPT 8,(Utils),1,0,0 +GRPOPT 7,(LwIP),0,0,0 OPTFFF 1,1,1,0,0,1,1,0,<.\application.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,88,0,0,0,116,0,0,0,236,2,0,0,123,1,0,0 } OPTFFF 1,2,1,486539264,0,63,63,0,<.\board.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,44,0,0,0,58,0,0,0,183,2,0,0,100,1,0,0 } OPTFFF 1,3,1,0,0,130,135,0,<.\startup.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,22,0,0,0,29,0,0,0,161,2,0,0,71,1,0,0 } -OPTFFF 1,4,5,469762048,0,115,128,0,<.\rtconfig.h> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,0,0,0,0,0,0,0,0,139,2,0,0,42,1,0,0 } +OPTFFF 1,4,5,1291845632,0,100,114,0,<.\rtconfig.h> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,0,0,0,0,0,0,0,0,139,2,0,0,42,1,0,0 } OPTFFF 1,5,1,922746880,0,0,0,0,<.\sdcard.c> OPTFFF 1,6,1,1006632960,0,1,1,0,<.\luminaryif.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,66,0,0,0,87,0,0,0,205,2,0,0,129,1,0,0 } OPTFFF 1,7,5,0,0,0,0,0,<.\board.h> @@ -115,21 +114,13 @@ OPTFFF 7,92,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch_init.c> OPTFFF 7,94,1,0,0,0,0,0,<..\..\net\lwip\src\api\sockets.c> OPTFFF 7,95,1,0,0,0,0,0,<..\..\net\lwip\src\core\memp_tiny.c> -OPTFFF 8,96,1,0,0,0,0,0,<..\..\net\apps\chargen.c> -OPTFFF 8,97,1,671088640,0,1,14,0,<..\..\net\apps\ftpd.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,44,0,0,0,58,0,0,0,183,2,0,0,100,1,0,0 } -OPTFFF 8,98,1,0,0,0,0,0,<..\..\net\apps\sntp.c> -OPTFFF 8,99,1,0,0,46,46,0,<..\..\net\apps\tcpecho.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,66,0,0,0,87,0,0,0,205,2,0,0,129,1,0,0 } -OPTFFF 8,100,1,486539264,0,0,0,0,<..\..\net\apps\tftp.c> -OPTFFF 8,101,1,0,0,0,0,0,<..\..\net\apps\udpecho.c> -OPTFFF 8,102,1,0,0,0,0,0,<..\..\net\apps\tcpclient.c> -OPTFFF 8,103,1,0,0,0,0,0,<..\..\net\apps\tcpserver.c> -OPTFFF 8,104,1,0,0,0,0,0,<..\..\net\apps\udpclient.c> -OPTFFF 8,105,1,0,0,0,0,0,<..\..\net\apps\udpserver.c> -OPTFFF 8,106,1,369098754,0,1,16,0,<..\..\net\apps\netio.c> { 44,0,0,0,2,0,0,0,3,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,44,0,0,0,58,0,0,0,183,2,0,0,100,1,0,0 } +ExtF 1,14,0,{ 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,44,0,0,0,58,0,0,0,183,2,0,0,100,1,0,0 } +ExtF 46,46,0,{ 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,66,0,0,0,87,0,0,0,205,2,0,0,129,1,0,0 } +ExtF 348,348,0,{ 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,44,0,0,0,58,0,0,0,183,2,0,0,100,1,0,0 } ExtF 153,153,0,{ 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,88,0,0,0,116,0,0,0,227,2,0,0,158,1,0,0 } ExtF 80,84,0,{ 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,22,0,0,0,29,0,0,0,170,2,0,0,36,1,0,0 } -ExtF 13,13,0,{ 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,0,0,0,0,0,0,0,0,139,2,0,0,42,1,0,0 } +ExtF 1,9,0,{ 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,0,0,0,0,0,0,0,0,139,2,0,0,42,1,0,0 } TARGOPT 1, (RT-Thread/LM3S) ADSCLK=6000000 diff --git a/bsp/lm3s/project_lwip_dfs.Uv2 b/bsp/lm3s/project_lwip_dfs.Uv2 index 2fc50ee93e..a2552e35a0 100644 --- a/bsp/lm3s/project_lwip_dfs.Uv2 +++ b/bsp/lm3s/project_lwip_dfs.Uv2 @@ -10,7 +10,6 @@ Group (LM3S) Group (driverlib) Group (Filesystem) Group (LwIP) -Group (Utils) File 1,1,<.\application.c> File 1,1,<.\board.c> @@ -107,17 +106,6 @@ File 7,1,<..\..\net\lwip\src\arch\sys_arch_init.c> File 7,1,<..\..\net\lwip\src\arch\sys_arch.c> File 7,1,<..\..\net\lwip\src\api\sockets.c> File 7,1,<..\..\net\lwip\src\core\memp_tiny.c> -File 8,1,<..\..\net\apps\chargen.c> -File 8,1,<..\..\net\apps\ftpd.c> -File 8,1,<..\..\net\apps\sntp.c> -File 8,1,<..\..\net\apps\tcpecho.c> -File 8,1,<..\..\net\apps\tftp.c> -File 8,1,<..\..\net\apps\udpecho.c> -File 8,1,<..\..\net\apps\tcpclient.c> -File 8,1,<..\..\net\apps\tcpserver.c> -File 8,1,<..\..\net\apps\udpclient.c> -File 8,1,<..\..\net\apps\udpserver.c> -File 8,1,<..\..\net\apps\netio.c> Options 1,0,0 // Target 'RT-Thread/LM3S' diff --git a/bsp/lm3s/rtconfig.h b/bsp/lm3s/rtconfig.h index 416b704e71..0c343dc91a 100644 --- a/bsp/lm3s/rtconfig.h +++ b/bsp/lm3s/rtconfig.h @@ -95,7 +95,9 @@ #define RT_USING_LWIP /* Trace LwIP protocol*/ -/* #define RT_LWIP_DEBUG */ +/* #define RT_LWIP_DEBUG */ + +#define RT_LWIP_USING_RT_MEM /* Enable ICMP protocol*/ #define RT_LWIP_ICMP @@ -118,7 +120,7 @@ /* TCP sender buffer space*/ #define RT_LWIP_TCP_SND_BUF 1024*8 /* Enable SNMP protocol*/ -/* #define RT_LWIP_SNMP */ +#define RT_LWIP_SNMP /* Using DHCP*/ /* #define RT_LWIP_DHCP */