tms570 OMK template configuration for use with LwIP added.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 7 Nov 2015 00:46:13 +0000 (01:46 +0100)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 7 Nov 2015 00:46:13 +0000 (01:46 +0100)
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
rtems-omk-template/config/config.tms570-lwip [new file with mode: 0644]

diff --git a/rtems-omk-template/config/config.tms570-lwip b/rtems-omk-template/config/config.tms570-lwip
new file mode 100644 (file)
index 0000000..09703c9
--- /dev/null
@@ -0,0 +1,73 @@
+LN_HEADERS=y
+
+CONFIG_OC_APP_APPLWIPTEST=y
+CONFIG_LWIP_LIB=y
+
+CONFIG_LWIP_LWIP_IPV4=y
+#CONFIG_LWIP_LWIP_SNMP=y
+CONFIG_LWIP_LWIP_ARP=y
+
+CONFIG_LWIP_OS_PORT = rtems
+CONFIG_LWIP_DEVICE_DRIVERS = tms570_emac
+
+#lwipots
+CONFIG_LWIP_STATIC_IP_ADDRESS=0
+
+CONFIG_LWIP_HOST_TMR_INTERVAL=0
+#CONFIG_LWIP_DYNAMIC_HTTP_HEADERS=y
+
+CONFIG_LWIP_SYS_LIGHTWEIGHT_PROT=1
+CONFIG_LWIP_LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT=1
+
+#CONFIG_LWIP_MEMP_OVERFLOW_CHECK=2
+#CONFIG_LWIP_MEMP_SANITY_CHECK=y
+CONFIG_LWIP_MEMP_SEPARATE_POOLS=y
+CONFIG_LWIP_NO_SYS=0
+
+CONFIG_LWIP_TCPIP_THREAD_PRIO=5
+CONFIG_LWIP_TCPIP_THREAD_STACKSIZE=8192
+
+CONFIG_LWIP_MEM_LIBC_MALLOC=0
+#CONFIG_LWIP_MBOX_SIZE=4
+CONFIG_LWIP_MEM_ALIGNMENT=4
+CONFIG_LWIP_MEM_SIZE=(64*1024)
+CONFIG_LWIP_MEMP_NUM_PBUF=48
+CONFIG_LWIP_MEMP_NUM_TCP_PCB=32
+CONFIG_LWIP_PBUF_POOL_SIZE=256
+CONFIG_LWIP_MEMP_NUM_TCPIP_MSG_INPKT=50
+CONFIG_LWIP_MEMP_NUM_TCPIP_MSG_API=30
+
+CONFIG_LWIP_IP_REASSEMBLY=0
+CONFIG_LWIP_IP_FRAG=0
+
+CONFIG_LWIP_LWIP_DHCP=1
+CONFIG_LWIP_DHCP_DOES_ARP_CHECK=0
+
+CONFIG_LWIP_LWIP_AUTOIP=0
+
+CONFIG_LWIP_TCP_MSS=512
+CONFIG_LWIP_TCP_WND=(512*4)
+CONFIG_LWIP_TCP_SND_BUF=(512*4)
+
+CONFIG_LWIP_PBUF_LINK_HLEN=14
+CONFIG_LWIP_PBUF_POOL_BUFSIZE=256
+
+CONFIG_LWIP_ETH_PAD_SIZE=0
+CONFIG_LWIP_MEMP_NUM_NETCONN=10
+
+CONFIG_LWIP_LWIP_NETCONN=1
+CONFIG_LWIP_LWIP_SOCKET=1
+CONFIG_LWIP_LWIP_SO_RCVTIMEO=1
+
+CONFIG_LWIP_TCPIP_MBOX_SIZE=100
+CONFIG_LWIP_DEFAULT_RAW_RECVMBOX_SIZE=100
+CONFIG_LWIP_DEFAULT_UDP_RECVMBOX_SIZE=100
+CONFIG_LWIP_DEFAULT_TCP_RECVMBOX_SIZE=100
+CONFIG_LWIP_DEFAULT_ACCEPTMBOX_SIZE=100
+
+CONFIG_LWIP_LWIP_STATS_DISPLAY=y
+CONFIG_LWIP_LWIP_STATS=1
+CONFIG_LWIP_MEMP_STATS=y
+CONFIG_LWIP_MEM_STATS=y
+#CONFIG_LWIP_ALL_DBG_ON=1
+CONFIG_LWIP_LWIP_NETIF_API=1