Skip to content

Commit f21cdd5

Browse files
committed
[QPG] Fix for OpenThread Stack bump compile issue
1 parent 1fecb91 commit f21cdd5

File tree

1 file changed

+12
-0
lines changed
  • third_party/openthread/platforms/qpg

1 file changed

+12
-0
lines changed

third_party/openthread/platforms/qpg/BUILD.gn

+12
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ config("openthread_qpg_config") {
3232
"QORVO_FTD=${chip_openthread_ftd}",
3333
"QORVO_RCP=0",
3434
]
35+
36+
if (chip_openthread_ftd) {
37+
defines += [
38+
"OPENTHREAD_FTD=1",
39+
"OPENTHREAD_MTD=0",
40+
]
41+
} else {
42+
defines += [
43+
"OPENTHREAD_FTD=0",
44+
"OPENTHREAD_MTD=1",
45+
]
46+
}
3547
}
3648

3749
source_set("openthread_core_config_qpg") {

0 commit comments

Comments
 (0)