Skip to content

Commit 9554c84

Browse files
dinabenamarMartin-NXP
authored andcommitted
[NXP][platform][rw61x] Enabling otcli ping command in the matter-cli
1 parent 7048d3c commit 9554c84

File tree

1 file changed

+6
-1
lines changed
  • third_party/openthread/platforms/nxp/rt/rw61x

1 file changed

+6
-1
lines changed

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import("${nxp_sdk_build_root}/${nxp_sdk_name}/${nxp_sdk_name}.gni")
2626
openthread_nxp_root = "${chip_root}/third_party/openthread/ot-nxp"
2727

2828
config("openthread_rw61x_config") {
29+
defines = []
2930
include_dirs = [
3031
"${openthread_nxp_root}/src/common",
3132
"${openthread_nxp_root}/src/common/br",
@@ -38,7 +39,7 @@ config("openthread_rw61x_config") {
3839
include_dirs += [ "${openthread_nxp_root}/src/common/spinel" ]
3940
}
4041
if (chip_enable_wifi && chip_enable_openthread) {
41-
defines = [
42+
defines += [
4243
"OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE=1",
4344
"OPENTHREAD_CONFIG_COMMISSIONER_ENABLE=1",
4445
"OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE=1",
@@ -53,6 +54,10 @@ config("openthread_rw61x_config") {
5354
"OPENTHREAD_CONFIG_GENERIC_TASKLET_ENABLE=1",
5455
]
5556
}
57+
# ot cli configs
58+
defines += [
59+
"OPENTHREAD_CONFIG_PING_SENDER_ENABLE=1"
60+
]
5661
}
5762

5863
#Config used by the openthread stack to get the path to OpenthreadConfig.h

0 commit comments

Comments
 (0)