File tree Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 123123#define LWIP_ETHERNET (LWIP_IPV6) // Required for IPV6 only mode
124124#define LWIP_IPV6_MLD (LWIP_IPV6)
125125#define LWIP_ICMP6 (LWIP_IPV6)
126- #define LWIP_IPV6_REASS (LWIP_IPV6)
127126#define LWIP_IPV6_FRAG (LWIP_IPV6)
128- #define LWIP_IPV6_DHCP6 0
129127#define LWIP_IPV6_AUTOCONFIG (LWIP_IPV6)
130- #define LWIP_IPV6_DUP_DETECT_ATTEMPTS 1
131128#define LWIP_IPV6_ROUTER_SUPPORT (LWIP_IPV6)
129+ #define LWIP_IPV6_REASS 0
130+ #define LWIP_IPV6_DHCP6 0
131+ #define LWIP_IPV6_DUP_DETECT_ATTEMPTS 1
132132#define LWIP_ND6_LISTEN_RA (LWIP_IPV6_ND)
133133#define LWIP_ND6_NUM_NEIGHBORS (10)
134134#define LWIP_ND6_NUM_DESTINATIONS (10)
173173#define DEFAULT_TCP_RECVMBOX_SIZE 6
174174
175175#if SL_ICD_ENABLED
176+ #define SL_LWIP_ECO_TIMERS 1
176177#define SL_LWIP_MLD6_TIMERS_ONDEMAND 1
177178#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
178179
Original file line number Diff line number Diff line change 125125#define LWIP_ETHERNET (LWIP_IPV6) // Required for IPV6 only mode
126126#define LWIP_IPV6_MLD (LWIP_IPV6)
127127#define LWIP_ICMP6 (LWIP_IPV6)
128- #define LWIP_IPV6_REASS (LWIP_IPV6)
129128#define LWIP_IPV6_FRAG (LWIP_IPV6)
130- #define LWIP_IPV6_DHCP6 0
131129#define LWIP_IPV6_AUTOCONFIG (LWIP_IPV6)
132- #define LWIP_IPV6_DUP_DETECT_ATTEMPTS 1
133130#define LWIP_IPV6_ROUTER_SUPPORT (LWIP_IPV6)
131+ #define LWIP_IPV6_REASS 0
132+ #define LWIP_IPV6_DHCP6 0
133+ #define LWIP_IPV6_DUP_DETECT_ATTEMPTS 1
134134#define LWIP_ND6_LISTEN_RA (LWIP_IPV6_ND)
135135#define LWIP_ND6_NUM_NEIGHBORS (10)
136136#define LWIP_ND6_NUM_DESTINATIONS (10)
175175#define DEFAULT_TCP_RECVMBOX_SIZE 6
176176
177177#if SL_ICD_ENABLED
178+ #define SL_LWIP_ECO_TIMERS 1
178179#define SL_LWIP_MLD6_TIMERS_ONDEMAND 1
179180#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
180181
Original file line number Diff line number Diff line change @@ -15,12 +15,21 @@ import("//build_overrides/efr32_sdk.gni")
1515import (" //build_overrides/lwip.gni" )
1616import (" ${ silabs_sdk_build_root } /efr32_sdk.gni" )
1717
18+ declare_args () {
19+ # Use LwIP from SiSDK if true, otherwise use the modified version from Matter Support.
20+ sl_use_sisdk_lwip = true
21+ }
22+
1823# Defines a lwIP build target.
1924#
2025# lwIP depends on external header files to compile. This template defines
2126# a combined build of the lwIP sources plus target configuration.
2227template (" lwip_target" ) {
23- _lwip_root = " ${ efr32_sdk_root } /util/third_party/lwip/lwip"
28+ if (sl_use_sisdk_lwip ) {
29+ _lwip_root = " ${ efr32_sdk_root } /util/third_party/lwip/lwip"
30+ } else {
31+ _lwip_root = " ${ matter_support_root } /sdk-copies/lwip"
32+ }
2433
2534 lwip_target_name = target_name
2635
You can’t perform that action at this time.
0 commit comments