update lm3s bsp

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1102 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc 2010-11-23 23:54:16 +00:00
parent 14169f7e8e
commit 558023a020
3 changed files with 51 additions and 52 deletions

View File

@ -23,7 +23,7 @@
#define LM3S_SRAM_END (0x20000000 + LM3S_SRAM_SIZE * 1024) #define LM3S_SRAM_END (0x20000000 + LM3S_SRAM_SIZE * 1024)
// For lm3s8962, it should be SYSCTL_XTAL_8MHZ // For lm3s8962, it should be SYSCTL_XTAL_8MHZ
#define LM3S_XTAL_TYPE SYSCTL_XTAL_6MHZ #define LM3S_XTAL_TYPE SYSCTL_XTAL_8MHZ
void rt_hw_board_led_on(int n); void rt_hw_board_led_on(int n);
void rt_hw_board_led_off(int n); void rt_hw_board_led_off(int n);

View File

@ -16,7 +16,7 @@ GRPOPT 2,(Kernel),0,0,0
GRPOPT 3,(finsh),0,0,0 GRPOPT 3,(finsh),0,0,0
GRPOPT 4,(LM3S),0,0,0 GRPOPT 4,(LM3S),0,0,0
GRPOPT 5,(driverlib),0,0,0 GRPOPT 5,(driverlib),0,0,0
GRPOPT 6,(Filesystem),0,0,0 GRPOPT 6,(Filesystem),1,0,0
GRPOPT 7,(LwIP),0,0,0 GRPOPT 7,(LwIP),0,0,0
OPTFFF 1,1,1,0,0,25,25,0,<.\application.c><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,1,1,0,0,25,25,0,<.\application.c><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 }
@ -61,55 +61,54 @@ OPTFFF 4,39,1,0,0,0,0,0,<..\..\libcpu\arm\lm3s\serial.c><serial.c>
OPTFFF 4,40,1,0,0,0,0,0,<..\..\libcpu\arm\lm3s\fault.c><fault.c> OPTFFF 4,40,1,0,0,0,0,0,<..\..\libcpu\arm\lm3s\fault.c><fault.c>
OPTFFF 4,41,2,0,0,0,0,0,<..\..\libcpu\arm\lm3s\fault_rvds.S><fault_rvds.S> OPTFFF 4,41,2,0,0,0,0,0,<..\..\libcpu\arm\lm3s\fault_rvds.S><fault_rvds.S>
OPTFFF 5,42,4,0,0,0,0,0,<..\..\bsp\lm3s\Libraries\driverlib\rvmdk\driverlib.lib><driverlib.lib> OPTFFF 5,42,4,0,0,0,0,0,<..\..\bsp\lm3s\Libraries\driverlib\rvmdk\driverlib.lib><driverlib.lib>
OPTFFF 6,43,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_init.c><dfs_init.c> OPTFFF 6,43,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_fs.c><dfs_fs.c>
OPTFFF 6,44,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_fs.c><dfs_fs.c> OPTFFF 6,44,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_posix.c><dfs_posix.c>
OPTFFF 6,45,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_raw.c><dfs_raw.c> OPTFFF 6,45,1,0,0,0,0,0,<..\..\components\dfs\filesystems\elmfat\ff.c><ff.c>
OPTFFF 6,46,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_util.c><dfs_util.c> OPTFFF 6,46,1,0,0,0,0,0,<..\..\components\dfs\filesystems\elmfat\dfs_elm.c><dfs_elm.c>
OPTFFF 6,47,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_posix.c><dfs_posix.c> OPTFFF 6,47,1,0,0,0,0,0,<..\..\components\dfs\src\dfs.c><dfs.c>
OPTFFF 6,48,1,0,0,0,0,0,<..\..\components\dfs\filesystems\elmfat\ff.c><ff.c> OPTFFF 6,48,1,0,0,0,0,0,<..\..\components\dfs\src\dfs_file.c><dfs_file.c>
OPTFFF 6,49,1,0,0,0,0,0,<..\..\components\dfs\filesystems\elmfat\dfs_elm.c><dfs_elm.c> OPTFFF 7,49,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\dhcp.c><dhcp.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,227,2,0,0,108,1,0,0 }
OPTFFF 7,50,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\dhcp.c><dhcp.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,227,2,0,0,108,1,0,0 } OPTFFF 7,50,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\dns.c><dns.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,0,0,0,0,0,0,0,0,139,2,0,0,248,0,0,0 }
OPTFFF 7,51,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\dns.c><dns.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,0,0,0,0,0,0,0,0,139,2,0,0,248,0,0,0 } OPTFFF 7,51,1,0,0,247,247,0,<..\..\components\net\lwip\src\core\init.c><init.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,0,0,0,0,0,0,0,0,139,2,0,0,42,1,0,0 }
OPTFFF 7,52,1,0,0,247,247,0,<..\..\components\net\lwip\src\core\init.c><init.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,0,0,0,0,0,0,0,0,139,2,0,0,42,1,0,0 } OPTFFF 7,52,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\netif.c><netif.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,21,1,0,0 }
OPTFFF 7,53,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\netif.c><netif.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,21,1,0,0 } OPTFFF 7,53,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\pbuf.c><pbuf.c>
OPTFFF 7,54,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\pbuf.c><pbuf.c> OPTFFF 7,54,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\raw.c><raw.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,50,1,0,0 }
OPTFFF 7,55,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\raw.c><raw.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,50,1,0,0 } OPTFFF 7,55,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\stats.c><stats.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,79,1,0,0 }
OPTFFF 7,56,1,0,0,1,1,0,<..\..\components\net\lwip\src\core\stats.c><stats.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,79,1,0,0 } OPTFFF 7,56,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\sys.c><sys.c>
OPTFFF 7,57,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\sys.c><sys.c> OPTFFF 7,57,1,1006632960,0,3,7,0,<..\..\components\net\lwip\src\core\tcp.c><tcp.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,227,2,0,0,158,1,0,0 }
OPTFFF 7,58,1,1006632960,0,3,7,0,<..\..\components\net\lwip\src\core\tcp.c><tcp.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,227,2,0,0,158,1,0,0 } OPTFFF 7,58,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\tcp_in.c><tcp_in.c>
OPTFFF 7,59,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\tcp_in.c><tcp_in.c> OPTFFF 7,59,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\tcp_out.c><tcp_out.c>
OPTFFF 7,60,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\tcp_out.c><tcp_out.c> OPTFFF 7,60,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\udp.c><udp.c>
OPTFFF 7,61,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\udp.c><udp.c> OPTFFF 7,61,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\autoip.c><autoip.c>
OPTFFF 7,62,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\autoip.c><autoip.c> OPTFFF 7,62,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\icmp.c><icmp.c>
OPTFFF 7,63,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\icmp.c><icmp.c> OPTFFF 7,63,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\igmp.c><igmp.c>
OPTFFF 7,64,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\igmp.c><igmp.c> OPTFFF 7,64,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\inet.c><inet.c>
OPTFFF 7,65,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\inet.c><inet.c> OPTFFF 7,65,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\inet_chksum.c><inet_chksum.c>
OPTFFF 7,66,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\inet_chksum.c><inet_chksum.c> OPTFFF 7,66,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\ip.c><ip.c>
OPTFFF 7,67,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\ip.c><ip.c> OPTFFF 7,67,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\ip_addr.c><ip_addr.c>
OPTFFF 7,68,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\ip_addr.c><ip_addr.c> OPTFFF 7,68,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\ip_frag.c><ip_frag.c>
OPTFFF 7,69,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\ipv4\ip_frag.c><ip_frag.c> OPTFFF 7,69,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\msg_in.c><msg_in.c>
OPTFFF 7,70,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\msg_in.c><msg_in.c> OPTFFF 7,70,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\msg_out.c><msg_out.c>
OPTFFF 7,71,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\msg_out.c><msg_out.c> OPTFFF 7,71,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\api_lib.c><api_lib.c>
OPTFFF 7,72,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\api_lib.c><api_lib.c> OPTFFF 7,72,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\api_msg.c><api_msg.c>
OPTFFF 7,73,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\api_msg.c><api_msg.c> OPTFFF 7,73,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\err.c><err.c>
OPTFFF 7,74,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\err.c><err.c> OPTFFF 7,74,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\netbuf.c><netbuf.c>
OPTFFF 7,75,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\netbuf.c><netbuf.c> OPTFFF 7,75,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\netdb.c><netdb.c>
OPTFFF 7,76,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\netdb.c><netdb.c> OPTFFF 7,76,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\netifapi.c><netifapi.c>
OPTFFF 7,77,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\netifapi.c><netifapi.c> OPTFFF 7,77,1,603979776,0,257,257,0,<..\..\components\net\lwip\src\api\tcpip.c><tcpip.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,0,0,0,0,0,0,0,0,192,2,0,0,253,0,0,0 }
OPTFFF 7,78,1,603979776,0,257,257,0,<..\..\components\net\lwip\src\api\tcpip.c><tcpip.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,0,0,0,0,0,0,0,0,192,2,0,0,253,0,0,0 } OPTFFF 7,78,1,0,0,0,0,0,<..\..\components\net\lwip\src\netif\etharp.c><etharp.c>
OPTFFF 7,79,1,0,0,0,0,0,<..\..\components\net\lwip\src\netif\etharp.c><etharp.c> OPTFFF 7,79,1,16777216,0,208,212,0,<..\..\components\net\lwip\src\netif\ethernetif.c><ethernetif.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,2,3,0,0,84,1,0,0 }
OPTFFF 7,80,1,16777216,0,208,212,0,<..\..\components\net\lwip\src\netif\ethernetif.c><ethernetif.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,2,3,0,0,84,1,0,0 } OPTFFF 7,80,1,0,0,0,0,0,<..\..\components\net\lwip\src\netif\loopif.c><loopif.c>
OPTFFF 7,81,1,0,0,0,0,0,<..\..\components\net\lwip\src\netif\loopif.c><loopif.c> OPTFFF 7,81,1,0,0,0,0,0,<..\..\components\net\lwip\src\arch\sys_arch_init.c><sys_arch_init.c>
OPTFFF 7,82,1,0,0,0,0,0,<..\..\components\net\lwip\src\arch\sys_arch_init.c><sys_arch_init.c> OPTFFF 7,82,1,0,0,0,0,0,<..\..\components\net\lwip\src\arch\sys_arch.c><sys_arch.c>
OPTFFF 7,83,1,0,0,0,0,0,<..\..\components\net\lwip\src\arch\sys_arch.c><sys_arch.c> OPTFFF 7,83,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\sockets.c><sockets.c>
OPTFFF 7,84,1,0,0,0,0,0,<..\..\components\net\lwip\src\api\sockets.c><sockets.c> OPTFFF 7,84,1,503316480,0,350,359,0,<..\..\components\net\lwip\src\core\memp.c><memp.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,205,2,0,0,47,1,0,0 }
OPTFFF 7,85,1,503316480,0,350,359,0,<..\..\components\net\lwip\src\core\memp.c><memp.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,205,2,0,0,47,1,0,0 } OPTFFF 7,85,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\asn1_dec.c><asn1_dec.c>
OPTFFF 7,86,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\asn1_dec.c><asn1_dec.c> OPTFFF 7,86,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\asn1_enc.c><asn1_enc.c>
OPTFFF 7,87,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\asn1_enc.c><asn1_enc.c> OPTFFF 7,87,1,285212672,0,4104,4104,0,<..\..\components\net\lwip\src\core\snmp\mib2.c><mib2.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,0,0,0,0,0,0,0,0,183,2,0,0,172,0,0,0 }
OPTFFF 7,88,1,285212672,0,4104,4104,0,<..\..\components\net\lwip\src\core\snmp\mib2.c><mib2.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,0,0,0,0,0,0,0,0,183,2,0,0,172,0,0,0 } OPTFFF 7,88,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\mib_structs.c><mib_structs.c>
OPTFFF 7,89,1,0,0,0,0,0,<..\..\components\net\lwip\src\core\snmp\mib_structs.c><mib_structs.c>
ExtF <E:\SVN-Google-Source\src\kservice.h> 79,87,0,{ 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,88,0,0,0,116,0,0,0,205,2,0,0,159,1,0,0 } ExtF <E:\SVN-Google-Source\src\kservice.h> 83,101,0,{ 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,88,0,0,0,116,0,0,0,205,2,0,0,159,1,0,0 }
TARGOPT 1, (RT-Thread-LM3S) TARGOPT 1, (RT-Thread-LM3S)
ADSCLK=6000000 ADSCLK=6000000

View File

@ -93,8 +93,8 @@ typedef enum {
#define SDC_SSI_PINS (SDC_SSI_TX | SDC_SSI_RX | SDC_SSI_CLK) #define SDC_SSI_PINS (SDC_SSI_TX | SDC_SSI_RX | SDC_SSI_CLK)
// GPIO for card chip select // GPIO for card chip select
#define SDC_CS_GPIO_PORT_BASE GPIO_PORTD_BASE #define SDC_CS_GPIO_PORT_BASE GPIO_PORTG_BASE
#define SDC_CS_GPIO_SYSCTL_PERIPH SYSCTL_PERIPH_GPIOD #define SDC_CS_GPIO_SYSCTL_PERIPH SYSCTL_PERIPH_GPIOG
#define SDC_CS GPIO_PIN_0 #define SDC_CS GPIO_PIN_0
// asserts the CS pin to the card // asserts the CS pin to the card