Skip to content

Commit 3e9b41b

Browse files
jby-nxpdoru91marius-predadinabenamarrestyled-commits
authored
Nxp upstream sdk v25 03 00 pvw2 (#38096)
* [NXP][mcxw71_k32w1] Fix LIT ICD DSLS Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> * [NXP] Update to new br rtos manager interface Signed-off-by: Marius Preda <marius.preda@nxp.com> * [NXP][rw612] Enable NAT64 Move also OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE to default BR defines, it should be enabled even if matter cli isn't to allow other methods of disaplying the eph key. Signed-off-by: Marius Preda <marius.preda@nxp.com> * [NXP][rt1170] Enable NAT64 Move also OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE to default BR defines, it should be enabled even if matter cli isn't to allow other methods of disaplying the eph key. Signed-off-by: Marius Preda <marius.preda@nxp.com> * [NXP][rt1060] Enable NAT64 Move also OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE to default BR defines, it should be enabled even if matter cli isn't to allow other methods of disaplying the eph key. Signed-off-by: Marius Preda <marius.preda@nxp.com> * [NXP] Update wifi stats APIs after SDK version update 25.03.000 Signed-off-by: Martin Girardot <martin.girardot@nxp.com> * [NXP] Update submodules: nxp_matter_support and ot-nxp * [NXP] update docker image version to support SDK 25.03.00-pvw2 * Restyled by clang-format * Restyled by prettier-markdown * [NXP] add Matter shell for MoW+OTBR builds --------- Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Preda <marius.preda@nxp.com> Signed-off-by: Martin Girardot <martin.girardot@nxp.com> Co-authored-by: Doru Gucea <doru-cristian.gucea@nxp.com> Co-authored-by: Marius Preda <marius.preda@nxp.com> Co-authored-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 6cc5fb1 commit 3e9b41b

File tree

12 files changed

+95
-62
lines changed

12 files changed

+95
-62
lines changed

.github/workflows/examples-nxp.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: github.actor != 'restyled-io[bot]'
4141

4242
container:
43-
image: ghcr.io/project-chip/chip-build-nxp:120
43+
image: ghcr.io/project-chip/chip-build-nxp:124
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:
@@ -149,7 +149,7 @@ jobs:
149149
run: |
150150
scripts/run_in_build_env.sh "\
151151
./scripts/build/build_examples.py \
152-
--target nxp-rt1060-freertos-thermostat-thread-wifi-evkc-iwx12 \
152+
--target nxp-rt1060-freertos-thermostat-thread-wifi-matter-shell-evkc-iwx12 \
153153
build \
154154
--copy-artifacts-to out/artifacts \
155155
"
@@ -181,7 +181,7 @@ jobs:
181181
run: |
182182
scripts/run_in_build_env.sh "\
183183
./scripts/build/build_examples.py \
184-
--target nxp-rt1170-freertos-thermostat-thread-wifi-iwx12 \
184+
--target nxp-rt1170-freertos-thermostat-thread-wifi-matter-shell-iwx12 \
185185
build \
186186
--copy-artifacts-to out/artifacts \
187187
"
@@ -210,7 +210,7 @@ jobs:
210210
run: |
211211
scripts/run_in_build_env.sh "\
212212
./scripts/build/build_examples.py \
213-
--target nxp-rw61x-freertos-thermostat-thread-wifi \
213+
--target nxp-rw61x-freertos-thermostat-thread-wifi-matter-shell \
214214
build \
215215
--copy-artifacts-to out/artifacts \
216216
"

examples/contact-sensor-app/nxp/mcxw71/README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ operation by corrupting packages and OTA will not work.
4141

4242
The user actions are summarized below:
4343

44-
| button | action | state | output |
45-
| ------ | ----------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
46-
| SW2 | short press | not commissioned | Enable BLE advertising |
47-
| SW2 | short press | commissioned + device is LIT | Enable Active Mode |
48-
| SW2 | long press | NA | Initiate a factory reset (can be cancelled by pressing the button again within the factory reset timeout limit - 6 seconds by default) |
49-
| SW3 | short press | NA | Toggle attribute `StateValue` value |
50-
| SW3 | long press | NA | Clean soft reset of the device (takes into account proper Matter shutdown procedure) |
44+
| button | action | state | output |
45+
| ------ | ------------ | -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
46+
| SW2 | short press | not commissioned | Enable BLE advertising |
47+
| SW2 | short press | commissioned + device is LIT | Enable Active Mode |
48+
| SW2 | long press | NA | Initiate a factory reset (can be cancelled by pressing the button again within the factory reset timeout limit - 6 seconds by default) |
49+
| SW2 | double press | commissioned + device is LIT + supports DSLS | Enable / Disable SIT Mode |
50+
| SW3 | short press | NA | Toggle attribute `StateValue` value |
51+
| SW3 | long press | NA | Clean soft reset of the device (takes into account proper Matter shutdown procedure) |
5152

5253
## Building
5354

examples/contact-sensor-app/nxp/mcxw71/args.gni

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ chip_with_lwip = false
3131

3232
chip_enable_icd_server = true
3333
chip_enable_icd_lit = false
34+
chip_enable_icd_dsls = false
3435
chip_persist_subscriptions = true
3536
chip_subscription_timeout_resumption = true
3637

src/platform/nxp/common/ConnectivityManagerImpl.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -552,12 +552,24 @@ void ConnectivityManagerImpl::BrHandleStateChange()
552552
DeviceLayer::ConfigurationMgr().GetPrimaryMACAddress(mac);
553553
chip::Dnssd::MakeHostName(mHostname, sizeof(mHostname), mac);
554554

555+
BrInitAppLock(LockThreadStack, UnlockThreadStack);
555556
BrInitPlatform(ThreadStackMgrImpl().OTInstance(), extNetIfPtr, thrNetIfPtr);
557+
BrUpdateLwipThrIf();
556558
BrInitMdnsHost(mHostname);
557559
}
558560
}
559561
}
560562

563+
void ConnectivityManagerImpl::LockThreadStack()
564+
{
565+
ThreadStackMgrImpl().LockThreadStack();
566+
}
567+
568+
void ConnectivityManagerImpl::UnlockThreadStack()
569+
{
570+
ThreadStackMgrImpl().UnlockThreadStack();
571+
}
572+
561573
Inet::InterfaceId ConnectivityManagerImpl::GetThreadInterface()
562574
{
563575
return sInstance.mThreadNetIf;

src/platform/nxp/common/ConnectivityManagerImpl.h

+2
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ class ConnectivityManagerImpl final : public ConnectivityManager,
163163
void UpdateInternetConnectivityState(void);
164164
#if CHIP_ENABLE_OPENTHREAD
165165
void BrHandleStateChange();
166+
static void LockThreadStack();
167+
static void UnlockThreadStack();
166168
#endif /* CHIP_DEVICE_CONFIG_ENABLE_THREAD */
167169
#endif
168170
/* CHIP_DEVICE_CONFIG_ENABLE_WPA */

src/platform/nxp/common/DiagnosticDataProviderImpl.cpp

+39-38
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,14 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiRssi(int8_t & rssi)
363363

364364
CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiBeaconLostCount(uint32_t & beaconLostCount)
365365
{
366-
#ifdef CONFIG_WIFI_GET_LOG
367-
wlan_pkt_stats_t stats;
368-
int ret = wlan_get_log(&stats);
366+
#if CONFIG_WIFI_GET_LOG
367+
wlan_stats_t stats;
368+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
369+
370+
int ret = wlan_get_stats(&stats, bss_type);
369371
if (ret == WM_SUCCESS)
370372
{
371-
beaconLostCount = stats.bcn_miss_cnt - mBeaconLostCount;
373+
beaconLostCount = stats.sta_mgmt.beacons_miss;
372374
return CHIP_NO_ERROR;
373375
}
374376
#endif /* CONFIG_WIFI_GET_LOG */
@@ -377,12 +379,13 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiBeaconLostCount(uint32_t & beaconL
377379

378380
CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiBeaconRxCount(uint32_t & beaconRxCount)
379381
{
380-
#ifdef CONFIG_WIFI_GET_LOG
381-
wlan_pkt_stats_t stats;
382-
int ret = wlan_get_log(&stats);
382+
#if CONFIG_WIFI_GET_LOG
383+
wlan_stats_t stats;
384+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
385+
int ret = wlan_get_stats(&stats, bss_type);
383386
if (ret == WM_SUCCESS)
384387
{
385-
beaconRxCount = stats.bcn_rcv_cnt - mBeaconRxCount;
388+
beaconRxCount = stats.sta_mgmt.beacons_rx;
386389
return CHIP_NO_ERROR;
387390
}
388391
#endif /* CONFIG_WIFI_GET_LOG */
@@ -391,12 +394,13 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiBeaconRxCount(uint32_t & beaconRxC
391394

392395
CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketMulticastRxCount(uint32_t & packetMulticastRxCount)
393396
{
394-
#ifdef CONFIG_WIFI_GET_LOG
395-
wlan_pkt_stats_t stats;
396-
int ret = wlan_get_log(&stats);
397+
#if CONFIG_WIFI_GET_LOG
398+
wlan_stats_t stats;
399+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
400+
int ret = wlan_get_stats(&stats, bss_type);
397401
if (ret == WM_SUCCESS)
398402
{
399-
packetMulticastRxCount = stats.mcast_rx_frame - mPacketMulticastRxCount;
403+
packetMulticastRxCount = stats.multicast.tx;
400404
return CHIP_NO_ERROR;
401405
}
402406
#endif /* CONFIG_WIFI_GET_LOG */
@@ -405,12 +409,13 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketMulticastRxCount(uint32_t &
405409

406410
CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketMulticastTxCount(uint32_t & packetMulticastTxCount)
407411
{
408-
#ifdef CONFIG_WIFI_GET_LOG
409-
wlan_pkt_stats_t stats;
410-
int ret = wlan_get_log(&stats);
412+
#if CONFIG_WIFI_GET_LOG
413+
wlan_stats_t stats;
414+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
415+
int ret = wlan_get_stats(&stats, bss_type);
411416
if (ret == WM_SUCCESS)
412417
{
413-
packetMulticastTxCount = stats.mcast_tx_frame - mPacketMulticastTxCount;
418+
packetMulticastTxCount = stats.multicast.tx;
414419
return CHIP_NO_ERROR;
415420
}
416421
#endif /* CONFIG_WIFI_GET_LOG */
@@ -419,12 +424,13 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketMulticastTxCount(uint32_t &
419424

420425
CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketUnicastTxCount(uint32_t & packetUnicastTxCount)
421426
{
422-
#ifdef CONFIG_WIFI_GET_LOG
423-
wlan_pkt_stats_t stats;
424-
int ret = wlan_get_log(&stats);
427+
#if CONFIG_WIFI_GET_LOG
428+
wlan_stats_t stats;
429+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
430+
int ret = wlan_get_stats(&stats, bss_type);
425431
if (ret == WM_SUCCESS)
426432
{
427-
packetUnicastTxCount = stats.tx_frame - mPacketUnicastTxCount;
433+
packetUnicastTxCount = stats.unicast.tx;
428434
return CHIP_NO_ERROR;
429435
}
430436
#endif /* CONFIG_WIFI_GET_LOG */
@@ -433,12 +439,13 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketUnicastTxCount(uint32_t & pa
433439

434440
CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketUnicastRxCount(uint32_t & packetUnicastRxCount)
435441
{
436-
#ifdef CONFIG_WIFI_GET_LOG
437-
wlan_pkt_stats_t stats;
438-
int ret = wlan_get_log(&stats);
442+
#if CONFIG_WIFI_GET_LOG
443+
wlan_stats_t stats;
444+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
445+
int ret = wlan_get_stats(&stats, bss_type);
439446
if (ret == WM_SUCCESS)
440447
{
441-
packetUnicastRxCount = stats.rx_unicast_cnt - mPacketUnicastRxCount;
448+
packetUnicastRxCount = stats.unicast.rx;
442449
return CHIP_NO_ERROR;
443450
}
444451
#endif /* CONFIG_WIFI_GET_LOG */
@@ -447,12 +454,13 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiPacketUnicastRxCount(uint32_t & pa
447454

448455
CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiOverrunCount(uint64_t & overrunCount)
449456
{
450-
#ifdef CONFIG_WIFI_GET_LOG
451-
wlan_pkt_stats_t stats;
452-
int ret = wlan_get_log(&stats);
457+
#if CONFIG_WIFI_GET_LOG
458+
wlan_stats_t stats;
459+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
460+
int ret = wlan_get_stats(&stats, bss_type);
453461
if (ret == WM_SUCCESS)
454462
{
455-
overrunCount = (stats.tx_overrun_cnt + stats.rx_overrun_cnt) - mOverrunCount;
463+
overrunCount = (stats.overrun.tx + stats.overrun.rx);
456464
return CHIP_NO_ERROR;
457465
}
458466
#endif /* CONFIG_WIFI_GET_LOG */
@@ -461,18 +469,11 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiOverrunCount(uint64_t & overrunCou
461469

462470
CHIP_ERROR DiagnosticDataProviderImpl::ResetWiFiNetworkDiagnosticsCounts(void)
463471
{
464-
#ifdef CONFIG_WIFI_GET_LOG
465-
wlan_pkt_stats_t stats;
466-
int ret = wlan_get_log(&stats);
472+
#if CONFIG_WIFI_GET_LOG
473+
wlan_bss_type bss_type = WLAN_BSS_TYPE_STA;
474+
int ret = wlan_reset_stats(bss_type);
467475
if (ret == WM_SUCCESS)
468476
{
469-
mPacketUnicastTxCount = stats.tx_frame;
470-
mPacketMulticastTxCount = stats.mcast_tx_frame;
471-
mPacketMulticastRxCount = stats.mcast_rx_frame;
472-
mBeaconRxCount = stats.bcn_rcv_cnt;
473-
mBeaconLostCount = stats.bcn_miss_cnt;
474-
mPacketUnicastRxCount = stats.rx_unicast_cnt;
475-
mOverrunCount = stats.tx_overrun_cnt + stats.rx_overrun_cnt;
476477
return CHIP_NO_ERROR;
477478
}
478479
#endif /* CONFIG_WIFI_GET_LOG */

src/platform/nxp/common/DiagnosticDataProviderImpl.h

-8
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,6 @@ class DiagnosticDataProviderImpl : public DiagnosticDataProvider
6969
CHIP_ERROR ResetWiFiNetworkDiagnosticsCounts() override;
7070
CHIP_ERROR GetWiFiOverrunCount(uint64_t & overrunCount) override;
7171
CHIP_ERROR GetWiFiPacketUnicastRxCount(uint32_t & packetUnicastTxCount) override;
72-
73-
uint32_t mBeaconRxCount = 0;
74-
uint32_t mBeaconLostCount = 0;
75-
uint32_t mPacketMulticastRxCount = 0;
76-
uint32_t mPacketMulticastTxCount = 0;
77-
uint32_t mPacketUnicastTxCount = 0;
78-
uint32_t mPacketUnicastRxCount = 0;
79-
uint64_t mOverrunCount = 0;
8072
#endif /* CHIP_DEVICE_CONFIG_ENABLE_WPA */
8173
};
8274

third_party/openthread/ot-nxp

Submodule ot-nxp updated 91 files

third_party/openthread/platforms/nxp/rt/rt1060/BUILD.gn

+9-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ config("openthread_rt1060_config") {
2929
include_dirs = [
3030
"${openthread_nxp_root}/src/common",
3131
"${openthread_nxp_root}/src/common/br",
32+
"${openthread_nxp_root}/src/common/lwip",
3233
"${openthread_nxp_root}/src/common/spinel",
3334
"${openthread_nxp_root}/src/imx_rt/rt1060",
3435
"${openthread_nxp_root}/third_party/mbedtls/configs",
@@ -57,11 +58,16 @@ config("openthread_rt1060_config") {
5758
"OT_APP_BR_LWIP_HOOKS_EN=1",
5859
"OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=1",
5960
"OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE=1",
61+
"OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE=1",
62+
"OPENTHREAD_CONFIG_NAT64_IDLE_TIMEOUT_SECONDS=60",
63+
"OPENTHREAD_CONFIG_NAT64_PORT_TRANSLATION_ENABLE=1",
64+
"OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE=1",
65+
"DISABLE_TCPIP_INIT=1",
66+
"OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE=1",
6067
]
6168

6269
if (nxp_enable_matter_cli) {
6370
defines += [
64-
"OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE=1",
6571
"OT_APP_CLI_EPHEMERAL_KEY_ADDON=1",
6672
"OT_APP_CLI_LWIP_ADDON=1",
6773
]
@@ -105,6 +111,8 @@ source_set("libopenthread-rt1060") {
105111
"${openthread_nxp_root}/src/common/br/trel_plat.c",
106112
"${openthread_nxp_root}/src/common/br/udp_plat.c",
107113
"${openthread_nxp_root}/src/common/br/utils.c",
114+
"${openthread_nxp_root}/src/common/lwip/ot_lwip.c",
115+
"${openthread_nxp_root}/src/common/lwip/token_bucket.c",
108116
]
109117

110118
if (nxp_enable_matter_cli) {

third_party/openthread/platforms/nxp/rt/rt1170/BUILD.gn

+9-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ config("openthread_rt1170_config") {
2828
include_dirs = [
2929
"${openthread_nxp_root}/src/common",
3030
"${openthread_nxp_root}/src/common/br",
31+
"${openthread_nxp_root}/src/common/lwip",
3132
"${openthread_nxp_root}/src/imx_rt/rt1170",
3233
"${openthread_nxp_root}/third_party/mbedtls/configs",
3334
"${openthread_root}/third_party/mbedtls",
@@ -56,11 +57,16 @@ config("openthread_rt1170_config") {
5657
"OT_APP_BR_LWIP_HOOKS_EN=1",
5758
"OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=1",
5859
"OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE=1",
60+
"OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE=1",
61+
"OPENTHREAD_CONFIG_NAT64_IDLE_TIMEOUT_SECONDS=60",
62+
"OPENTHREAD_CONFIG_NAT64_PORT_TRANSLATION_ENABLE=1",
63+
"OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE=1",
64+
"DISABLE_TCPIP_INIT=1",
65+
"OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE=1",
5966
]
6067

6168
if (nxp_enable_matter_cli) {
6269
defines += [
63-
"OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE=1",
6470
"OT_APP_CLI_EPHEMERAL_KEY_ADDON=1",
6571
"OT_APP_CLI_LWIP_ADDON=1",
6672
]
@@ -103,6 +109,8 @@ source_set("libopenthread-rt1170") {
103109
"${openthread_nxp_root}/src/common/br/trel_plat.c",
104110
"${openthread_nxp_root}/src/common/br/udp_plat.c",
105111
"${openthread_nxp_root}/src/common/br/utils.c",
112+
"${openthread_nxp_root}/src/common/lwip/ot_lwip.c",
113+
"${openthread_nxp_root}/src/common/lwip/token_bucket.c",
106114
]
107115

108116
if (nxp_enable_matter_cli) {

third_party/openthread/platforms/nxp/rt/rw61x/BUILD.gn

+9-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ config("openthread_rw61x_config") {
3030
include_dirs = [
3131
"${openthread_nxp_root}/src/common",
3232
"${openthread_nxp_root}/src/common/br",
33+
"${openthread_nxp_root}/src/common/lwip",
3334
"${openthread_nxp_root}/src/rw/rw612",
3435
"${openthread_nxp_root}/third_party/mbedtls/configs",
3536
"${openthread_root}/third_party/mbedtls",
@@ -59,11 +60,16 @@ config("openthread_rw61x_config") {
5960
"OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=1",
6061
"OT_APP_BR_LWIP_HOOKS_EN=1",
6162
"OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE=1",
63+
"OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE=1",
64+
"OPENTHREAD_CONFIG_NAT64_IDLE_TIMEOUT_SECONDS=60",
65+
"OPENTHREAD_CONFIG_NAT64_PORT_TRANSLATION_ENABLE=1",
66+
"OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE=1",
67+
"DISABLE_TCPIP_INIT=1",
68+
"OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE=1",
6269
]
6370

6471
if (nxp_enable_matter_cli) {
6572
defines += [
66-
"OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE=1",
6773
"OT_APP_CLI_EPHEMERAL_KEY_ADDON=1",
6874
"OT_APP_CLI_LWIP_ADDON=1",
6975
]
@@ -101,6 +107,8 @@ source_set("libopenthread-rw61x") {
101107
"${openthread_nxp_root}/src/common/br/trel_plat.c",
102108
"${openthread_nxp_root}/src/common/br/udp_plat.c",
103109
"${openthread_nxp_root}/src/common/br/utils.c",
110+
"${openthread_nxp_root}/src/common/lwip/ot_lwip.c",
111+
"${openthread_nxp_root}/src/common/lwip/token_bucket.c",
104112
]
105113

106114
if (nxp_enable_matter_cli) {

0 commit comments

Comments
 (0)