Skip to content

Commit

Permalink
Removing MG21 definitions (#25217)
Browse files Browse the repository at this point in the history
  • Loading branch information
poyamini authored Feb 22, 2023
1 parent 4721700 commit 39c678d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions src/lwip/silabs/lwipopts-rs911x.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,23 +115,13 @@
#define LWIP_ND6_TCP_REACHABILITY_HINTS (0)
#define LWIP_ND6_ALLOW_RA_UPDATES (LWIP_IPV6_ND)

#if defined(EFR32MG21)
#define MEMP_SEPARATE_POOLS (1)
#define LWIP_PBUF_FROM_CUSTOM_POOLS (0)
#define MEMP_USE_CUSTOM_POOLS (0)
#define PBUF_POOL_SIZE (5)
#define PBUF_POOL_BUFSIZE (1280)
#define PBUF_CUSTOM_POOL_IDX_START (MEMP_PBUF_POOL_SMALL)
#define PBUF_CUSTOM_POOL_IDX_END (MEMP_PBUF_POOL_LARGE)
#else /* !(EFR32MG21) */
#define MEMP_SEPARATE_POOLS (1)
#define LWIP_PBUF_FROM_CUSTOM_POOLS (0)
#define MEMP_USE_CUSTOM_POOLS (0)
#define PBUF_POOL_SIZE (32)
#define PBUF_POOL_BUFSIZE (1280) // IPv6 path MTU
#define PBUF_CUSTOM_POOL_IDX_START (MEMP_PBUF_POOL_SMALL)
#define PBUF_CUSTOM_POOL_IDX_END (MEMP_PBUF_POOL_LARGE)
#endif /* EFR32MG21 */

#define TCP_MSS (1152)
#define TCP_SND_BUF (2 * TCP_MSS)
Expand All @@ -141,11 +131,7 @@
#define SUB_ETHERNET_HEADER_SPACE (0)
#define PBUF_LINK_HLEN (14)

#if defined(EFR32MG21)
#define TCPIP_THREAD_STACKSIZE (1536)
#else /* !(EFR32MG21) */
#define TCPIP_THREAD_STACKSIZE (2048)
#endif /* EFR32MG21 */

#define TCPIP_THREAD_PRIO (2)

Expand Down
14 changes: 0 additions & 14 deletions src/lwip/silabs/lwipopts-wf200.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,23 +115,13 @@
#define LWIP_ND6_TCP_REACHABILITY_HINTS (0)
#define LWIP_ND6_ALLOW_RA_UPDATES (LWIP_IPV6_ND)

#if defined(EFR32MG21)
#define MEMP_SEPARATE_POOLS (1)
#define LWIP_PBUF_FROM_CUSTOM_POOLS (0)
#define MEMP_USE_CUSTOM_POOLS (0)
#define PBUF_POOL_SIZE (5)
#define PBUF_POOL_BUFSIZE (1280)
#define PBUF_CUSTOM_POOL_IDX_START (MEMP_PBUF_POOL_SMALL)
#define PBUF_CUSTOM_POOL_IDX_END (MEMP_PBUF_POOL_LARGE)
#else /* !(EFR32MG21) */
#define MEMP_SEPARATE_POOLS (1)
#define LWIP_PBUF_FROM_CUSTOM_POOLS (0)
#define MEMP_USE_CUSTOM_POOLS (0)
#define PBUF_POOL_SIZE (16)
#define PBUF_POOL_BUFSIZE (1280) // IPv6 path MTU
#define PBUF_CUSTOM_POOL_IDX_START (MEMP_PBUF_POOL_SMALL)
#define PBUF_CUSTOM_POOL_IDX_END (MEMP_PBUF_POOL_LARGE)
#endif /* EFR32MG21 */

#define TCP_MSS (1152)
#define TCP_SND_BUF (2 * TCP_MSS)
Expand All @@ -141,11 +131,7 @@
#define SUB_ETHERNET_HEADER_SPACE (0)
#define PBUF_LINK_HLEN (14)

#if defined(EFR32MG21)
#define TCPIP_THREAD_STACKSIZE (1536)
#else /* !(EFR32MG21) */
#define TCPIP_THREAD_STACKSIZE (2048)
#endif /* EFR32MG21 */

#define TCPIP_THREAD_PRIO (2)

Expand Down

0 comments on commit 39c678d

Please sign in to comment.