-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
projects/armv7m7-imxrt106x-evk: Add config for iMX RT106x ENET driver
JIRA: RTOS-507
- Loading branch information
1 parent
568d2f7
commit c99b00c
Showing
3 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
#define LWIP_TCPIP_CORE_LOCKING 1 | ||
#define LWIP_SUPPORT_CUSTOM_PBUF 1 | ||
#define LWIP_NETIF_LOOPBACK 1 | ||
#define LWIP_HAVE_SLIPIF 0 | ||
#define LWIP_NETIF_API 1 | ||
#define LWIP_SOCKET 1 | ||
#define LWIP_COMPAT_SOCKETS 0 | ||
#define LWIP_ARP 1 | ||
#define LWIP_ICMP 1 | ||
#define LWIP_RAW 1 | ||
#define LWIP_NETPACKET 1 | ||
#define LWIP_DHCP 1 | ||
#define LWIP_DNS 1 | ||
#define LWIP_AUTOIP 1 | ||
#define LWIP_UDP 1 | ||
#define LWIP_TCP 1 | ||
#define LWIP_TCP_KEEPALIVE 1 | ||
#define MEM_LIBC_MALLOC 1 | ||
#define MEMP_MEM_MALLOC 1 | ||
#define LWIP_ERRNO_INCLUDE "errno.h" | ||
#define LWIP_DNS_API_DEFINE_ERRORS 0 | ||
#define LWIP_DNS_API_DEFINE_FLAGS 0 | ||
#define LWIP_DNS_API_DECLARE_STRUCTS 0 | ||
#define LWIP_DNS_API_DECLARE_H_ERRNO 0 | ||
#define MEMP_NUM_NETCONN 1024 | ||
#define PPP_SUPPORT 1 | ||
#define PPPOS_SUPPORT 1 | ||
#define PAP_SUPPORT 1 | ||
#define CHAP_SUPPORT 1 | ||
#define MSCHAP_SUPPORT 0 | ||
#define LWIP_TIMEVAL_PRIVATE 0 | ||
|
||
#if 0 // debugging LWiP PPPoS | ||
#define LWIP_DEBUG 1 | ||
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL | ||
#define LWIP_DBG_TYPES_ON LWIP_DBG_ON | ||
#define PPP_DEBUG LWIP_DBG_ON | ||
#define HAVE_DRIVER_pppos 1 // register and start PPPoS driver | ||
#define HAVE_DRIVER_pppou 1 // register and start PPPoU driver | ||
#endif | ||
|
||
#if 0 | ||
#define LWIP_DEBUG 1 | ||
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL | ||
#define LWIP_DBG_TYPES_ON LWIP_DBG_ON | ||
#define PBUF_DEBUG LWIP_DBG_ON | ||
#define ETHARP_DEBUG LWIP_DBG_ON | ||
#define SOCKETS_DEBUG LWIP_DBG_ON | ||
#endif | ||
|
||
#define TCP_MSS 1460 | ||
#define TCP_WND (32 * TCP_MSS) | ||
#define TCP_SND_BUF TCP_WND | ||
#define TCP_SND_QUEUELEN 192 | ||
#define ETH_PAD_SIZE 2 | ||
#define ETHARP_TABLE_MATCH_NETIF 1 | ||
#define IP_REASSEMBLY 1 | ||
#define IP_FRAG 1 | ||
#define SO_REUSE 1 | ||
#define DEFAULT_THREAD_STACKSIZE (4 * 4096) | ||
#define TCPIP_THREAD_STACKSIZE (4 * 4096) | ||
#define TCPIP_THREAD_PRIO 3 | ||
#define TCPIP_MBOX_SIZE 256 | ||
#define DEFAULT_RAW_RECVMBOX_SIZE 32 | ||
#define DEFAULT_UDP_RECVMBOX_SIZE 32 | ||
#define DEFAULT_TCP_RECVMBOX_SIZE 32 | ||
#define DEFAULT_ACCEPTMBOX_SIZE 32 | ||
#define LWIP_HOOK_FILENAME "phoenix-hooks.h" | ||
#define LWIP_EXT_PF 1 | ||
#define LWIP_NETIF_STATUS_CALLBACK 1 | ||
#define LWIP_DHCP_AUTOIP_COOP 1 | ||
#define LWIP_DHCP_AUTOIP_COOP_TRIES 3 | ||
#define LWIP_SO_RCVTIMEO 1 | ||
#define LWIP_SO_SNDTIMEO 1 | ||
#define ifreq lwip_ifreq | ||
#define LWIP_NETIF_LINK_CALLBACK 1 | ||
#define LWIP_DHCP_GET_MOBILE_AGENT 1 | ||
#define LWIP_EXT_IPSEC 1 | ||
#define LWIP_LINKMONITOR_DEV 1 | ||
#define LWIP_IFSTATUS_DEV_BUFFER_SIZE 1024 | ||
#define LWIP_IFSTATUS_DEV 1 | ||
|
||
/* required by Wi-Fi driver */ | ||
#define PBUF_LINK_HLEN 44 | ||
#define LWIP_NETIF_REMOVE_CALLBACK 1 | ||
|
||
/* stats */ | ||
#define LWIP_STATS 1 | ||
#define LWIP_STATS_DISPLAY 1 | ||
#define LINK_STATS 1 | ||
#define IP_STATS 1 | ||
#define ICMP_STATS 1 | ||
#define IGMP_STATS 1 | ||
#define IPFRAG_STATS 1 | ||
#define UDP_STATS 1 | ||
#define TCP_STATS 1 | ||
#define MEM_STATS 1 | ||
#define MEMP_STATS 1 | ||
#define PBUF_STATS 1 | ||
#define SYS_STATS 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters