From 1712541af5c9a737f43601c1dc8ef853fa0e65a3 Mon Sep 17 00:00:00 2001 From: yap <Yaminidevi.P@silabs.com> Date: Tue, 21 Feb 2023 16:24:49 +0530 Subject: [PATCH] Removing MG21 definitions --- src/lwip/silabs/lwipopts-rs911x.h | 14 -------------- src/lwip/silabs/lwipopts-wf200.h | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/src/lwip/silabs/lwipopts-rs911x.h b/src/lwip/silabs/lwipopts-rs911x.h index 66fbf69f2c8a5b..19396b5e05a520 100644 --- a/src/lwip/silabs/lwipopts-rs911x.h +++ b/src/lwip/silabs/lwipopts-rs911x.h @@ -115,15 +115,6 @@ #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) @@ -131,7 +122,6 @@ #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) @@ -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) diff --git a/src/lwip/silabs/lwipopts-wf200.h b/src/lwip/silabs/lwipopts-wf200.h index b1dc32fb1a53b2..77552693b80bfe 100644 --- a/src/lwip/silabs/lwipopts-wf200.h +++ b/src/lwip/silabs/lwipopts-wf200.h @@ -115,15 +115,6 @@ #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) @@ -131,7 +122,6 @@ #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) @@ -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)