@@ -28,6 +28,12 @@ elseif(CONFIG_OPENTHREAD_MTD)
28
28
set (OT_MTD ON CACHE BOOL "Enable MTD" FORCE )
29
29
endif ()
30
30
31
+ if (CONFIG_OPENTHREAD_ANYCAST_LOCATOR )
32
+ set (OT_ANYCAST_LOCATOR ON CACHE BOOL "Enable anycast locator" FORCE )
33
+ else ()
34
+ set (OT_ANYCAST_LOCATOR OFF CACHE BOOL "Enable anycast locator" FORCE )
35
+ endif ()
36
+
31
37
if (CONFIG_ASSERT )
32
38
set (OT_ASSERT ON CACHE BOOL "Enable assert function OT_ASSERT()" FORCE )
33
39
else ()
@@ -40,6 +46,18 @@ else()
40
46
set (OT_BACKBONE_ROUTER OFF CACHE BOOL "Enable backbone router functionality" FORCE )
41
47
endif ()
42
48
49
+ if (CONFIG_OPENTHREAD_BACKBONE_ROUTER_DUA_NDPROXYING )
50
+ set (OT_BACKBONE_ROUTER_DUA_NDPROXYING ON CACHE BOOL "Enable BBR DUA ND Proxy support" FORCE )
51
+ else ()
52
+ set (OT_BACKBONE_ROUTER_DUA_NDPROXYING OFF CACHE BOOL "Enable BBR DUA ND Proxy support" FORCE )
53
+ endif ()
54
+
55
+ if (CONFIG_OPENTHREAD_BACKBONE_ROUTER_MULTICAST_ROUTING )
56
+ set (OT_BACKBONE_ROUTER_MULTICAST_ROUTING ON CACHE BOOL "Enable BBR MR support" FORCE )
57
+ else ()
58
+ set (OT_BACKBONE_ROUTER_MULTICAST_ROUTING OFF CACHE BOOL "Enable BBR MR support" FORCE )
59
+ endif ()
60
+
43
61
if (CONFIG_OPENTHREAD_BORDER_AGENT )
44
62
set (OT_BORDER_AGENT ON CACHE BOOL "Enable Border Agent" FORCE )
45
63
else ()
@@ -52,70 +70,70 @@ else()
52
70
set (OT_BORDER_ROUTER OFF CACHE BOOL "Enable Border Router" FORCE )
53
71
endif ()
54
72
55
- if (CONFIG_OPENTHREAD_BORDER_ROUTING_NAT64 )
56
- set (OT_BORDER_ROUTING_NAT64 ON CACHE BOOL "Enable border routing NAT64 support " FORCE )
73
+ if (CONFIG_OPENTHREAD_BORDER_ROUTING )
74
+ set (OT_BORDER_ROUTING ON CACHE BOOL "Enable Border routing" FORCE )
57
75
else ()
58
- set (OT_BORDER_ROUTING_NAT64 OFF CACHE BOOL "Enable border routing NAT64 support " FORCE )
76
+ set (OT_BORDER_ROUTING OFF CACHE BOOL "Enable Border routing" FORCE )
59
77
endif ()
60
78
61
- if (CONFIG_OPENTHREAD_COAP )
62
- set (OT_COAP ON CACHE BOOL "Enable CoAP API " FORCE )
79
+ if (CONFIG_OPENTHREAD_BORDER_ROUTING_COUNTERS )
80
+ set (OT_BORDER_ROUTING_COUNTERS ON CACHE BOOL "Enable Border routing counters " FORCE )
63
81
else ()
64
- set (OT_COAP OFF CACHE BOOL "Enable CoAP API " FORCE )
82
+ set (OT_BORDER_ROUTING_COUNTERS OFF CACHE BOOL "Enable Border routing counters " FORCE )
65
83
endif ()
66
84
67
- if (CONFIG_OPENTHREAD_COAPS )
68
- set (OT_COAPS ON CACHE BOOL "Enable secure CoAP API support" FORCE )
85
+ if (CONFIG_OPENTHREAD_CHANNEL_MANAGER )
86
+ set (OT_CHANNEL_MANAGER ON CACHE BOOL "Enable channel manager support" FORCE )
69
87
else ()
70
- set (OT_COAPS OFF CACHE BOOL "Enable secure CoAP API support" FORCE )
88
+ set (OT_CHANNEL_MANAGER OFF CACHE BOOL "Enable channel manager support" FORCE )
71
89
endif ()
72
90
73
- if (CONFIG_OPENTHREAD_COAP_BLOCK )
74
- set (OT_COAP_BLOCK ON CACHE BOOL "Enable CoAP Block-wise option support" FORCE )
91
+ if (CONFIG_OPENTHREAD_CHANNEL_MONITOR )
92
+ set (OT_CHANNEL_MONITOR ON CACHE BOOL "Enable channel monitor support" FORCE )
75
93
else ()
76
- set (OT_COAP_BLOCK OFF CACHE BOOL "Enable CoAP Block-wise option support" FORCE )
94
+ set (OT_CHANNEL_MONITOR OFF CACHE BOOL "Enable channel monitor support" FORCE )
77
95
endif ()
78
96
79
- if (CONFIG_OPENTHREAD_COAP_OBSERVE )
80
- set (OT_COAP_OBSERVE ON CACHE BOOL "Enable CoAP Observe option support" FORCE )
97
+ if (CONFIG_OPENTHREAD_CHILD_SUPERVISION )
98
+ set (OT_CHILD_SUPERVISION ON CACHE BOOL "Enable child supervision support" FORCE )
81
99
else ()
82
- set (OT_COAP_OBSERVE OFF CACHE BOOL "Enable CoAP Observe option support" FORCE )
100
+ set (OT_CHILD_SUPERVISION OFF CACHE BOOL "Enable child supervision support" FORCE )
83
101
endif ()
84
102
85
- if (CONFIG_OPENTHREAD_COMMISSIONER )
86
- set (OT_COMMISSIONER ON CACHE BOOL "Enable Commissioner " FORCE )
103
+ if (CONFIG_OPENTHREAD_COAP )
104
+ set (OT_COAP ON CACHE BOOL "Enable CoAP API " FORCE )
87
105
else ()
88
- set (OT_COMMISSIONER OFF CACHE BOOL "Enable Commissioner " FORCE )
106
+ set (OT_COAP OFF CACHE BOOL "Enable CoAP API " FORCE )
89
107
endif ()
90
108
91
- if (CONFIG_OPENTHREAD_CHANNEL_MANAGER )
92
- set (OT_CHANNEL_MANAGER ON CACHE BOOL "Enable channel manager support" FORCE )
109
+ if (CONFIG_OPENTHREAD_COAP_BLOCK )
110
+ set (OT_COAP_BLOCK ON CACHE BOOL "Enable CoAP Block-wise option support" FORCE )
93
111
else ()
94
- set (OT_CHANNEL_MANAGER OFF CACHE BOOL "Enable channel manager support" FORCE )
112
+ set (OT_COAP_BLOCK OFF CACHE BOOL "Enable CoAP Block-wise option support" FORCE )
95
113
endif ()
96
114
97
- if (CONFIG_OPENTHREAD_CHANNEL_MONITOR )
98
- set (OT_CHANNEL_MONITOR ON CACHE BOOL "Enable channel monitor support" FORCE )
115
+ if (CONFIG_OPENTHREAD_COAP_OBSERVE )
116
+ set (OT_COAP_OBSERVE ON CACHE BOOL "Enable CoAP Observe option support" FORCE )
99
117
else ()
100
- set (OT_CHANNEL_MONITOR OFF CACHE BOOL "Enable channel monitor support" FORCE )
118
+ set (OT_COAP_OBSERVE OFF CACHE BOOL "Enable CoAP Observe option support" FORCE )
101
119
endif ()
102
120
103
- if (CONFIG_OPENTHREAD_CHILD_SUPERVISION )
104
- set (OT_CHILD_SUPERVISION ON CACHE BOOL "Enable child supervision support" FORCE )
121
+ if (CONFIG_OPENTHREAD_COAPS )
122
+ set (OT_COAPS ON CACHE BOOL "Enable secure CoAP API support" FORCE )
105
123
else ()
106
- set (OT_CHILD_SUPERVISION OFF CACHE BOOL "Enable child supervision support" FORCE )
124
+ set (OT_COAPS OFF CACHE BOOL "Enable secure CoAP API support" FORCE )
107
125
endif ()
108
126
109
- if (CONFIG_OPENTHREAD_CSL_AUTO_SYNC )
110
- set (OT_CSL_AUTO_SYNC ON CACHE BOOL "Enable csl autosync " FORCE )
127
+ if (CONFIG_OPENTHREAD_COMMISSIONER )
128
+ set (OT_COMMISSIONER ON CACHE BOOL "Enable Commissioner " FORCE )
111
129
else ()
112
- set (OT_CSL_AUTO_SYNC OFF CACHE BOOL "Enable csl autosync " FORCE )
130
+ set (OT_COMMISSIONER OFF CACHE BOOL "Enable Commissioner " FORCE )
113
131
endif ()
114
132
115
- if (CONFIG_OPENTHREAD_CSL_RECEIVER )
116
- set (OT_CSL_RECEIVER ON CACHE BOOL "Enable CSL receiver feature for Thread 1.2 " FORCE )
133
+ if (CONFIG_OPENTHREAD_CSL_AUTO_SYNC )
134
+ set (OT_CSL_AUTO_SYNC ON CACHE BOOL "Enable csl autosync " FORCE )
117
135
else ()
118
- set (OT_CSL_RECEIVER OFF CACHE BOOL "Enable CSL receiver feature for Thread 1.2 " FORCE )
136
+ set (OT_CSL_AUTO_SYNC OFF CACHE BOOL "Enable csl autosync " FORCE )
119
137
endif ()
120
138
121
139
if (CONFIG_OPENTHREAD_CSL_DEBUG )
@@ -124,7 +142,13 @@ else()
124
142
set (OT_CSL_DEBUG OFF CACHE BOOL "Enable CSL debug" FORCE )
125
143
endif ()
126
144
127
- if (CONFIG_OPENTHREAD_DATSET_UPDATER )
145
+ if (CONFIG_OPENTHREAD_CSL_RECEIVER )
146
+ set (OT_CSL_RECEIVER ON CACHE BOOL "Enable CSL receiver feature for Thread 1.2" FORCE )
147
+ else ()
148
+ set (OT_CSL_RECEIVER OFF CACHE BOOL "Enable CSL receiver feature for Thread 1.2" FORCE )
149
+ endif ()
150
+
151
+ if (CONFIG_OPENTHREAD_DATASET_UPDATER )
128
152
set (OT_DATASET_UPDATER ON CACHE BOOL "Enable Dataset updater" FORCE )
129
153
else ()
130
154
set (OT_DATASET_UPDATER OFF CACHE BOOL "Enable Dataset updater" FORCE )
@@ -178,24 +202,36 @@ else()
178
202
set (OT_ECDSA OFF CACHE BOOL "Enable ECDSA support" FORCE )
179
203
endif ()
180
204
181
- if (CONFIG_OPENTHREAD_EXCLUDE_TCPLP_LIB )
182
- set (OT_EXCLUDE_TCPLP_LIB ON CACHE BOOL "Exclude TCPlp library from build" FORCE )
183
- else ()
184
- set (OT_EXCLUDE_TCPLP_LIB OFF CACHE BOOL "Exclude TCPlp library from build" FORCE )
185
- endif ()
186
-
187
205
if (CONFIG_OPENTHREAD_ENABLE_SERVICE )
188
206
set (OT_SERVICE ON CACHE BOOL "Enable Service entries in Thread Network Data" FORCE )
189
207
else ()
190
208
set (OT_SERVICE OFF CACHE BOOL "Enable Service entries in Thread Network Data" FORCE )
191
209
endif ()
192
210
211
+ if (CONFIG_OPENTHREAD_EXCLUDE_TCPLP_LIB )
212
+ set (OT_EXCLUDE_TCPLP_LIB ON CACHE BOOL "Exclude TCPlp library from build" FORCE )
213
+ else ()
214
+ set (OT_EXCLUDE_TCPLP_LIB OFF CACHE BOOL "Exclude TCPlp library from build" FORCE )
215
+ endif ()
216
+
193
217
if (CONFIG_OPENTHREAD_EXTERNAL_HEAP )
194
218
set (OT_EXTERNAL_HEAP ON CACHE BOOL "Enable external heap support" FORCE )
195
219
else ()
196
220
set (OT_EXTERNAL_HEAP OFF CACHE BOOL "Enable external heap support" FORCE )
197
221
endif ()
198
222
223
+ if (CONFIG_OPENTHREAD_FIREWALL )
224
+ set (OT_FIREWALL ON CACHE BOOL "Enable firewall" FORCE )
225
+ else ()
226
+ set (OT_FIREWALL OFF CACHE BOOL "Enable firewall" FORCE )
227
+ endif ()
228
+
229
+ if (CONFIG_OPENTHREAD_FULL_LOGS )
230
+ set (OT_FULL_LOGS ON CACHE BOOL "Enable full logs" FORCE )
231
+ else ()
232
+ set (OT_FULL_LOGS OFF CACHE BOOL "Enable full logs" FORCE )
233
+ endif ()
234
+
199
235
if (CONFIG_OPENTHREAD_HISTORY_TRACKER )
200
236
set (OT_HISTORY_TRACKER ON CACHE BOOL "Enable history tracker support." FORCE )
201
237
else ()
@@ -250,6 +286,12 @@ else()
250
286
set (OT_MAC_FILTER OFF CACHE BOOL "Enable MAC filter support" FORCE )
251
287
endif ()
252
288
289
+ if (CONFIG_OPENTHREAD_MESSAGE_USE_HEAP )
290
+ set (OT_MESSAGE_USE_HEAP ON CACHE BOOL "Enable heap allocator for message buffers" FORCE )
291
+ else ()
292
+ set (OT_MESSAGE_USE_HEAP OFF CACHE BOOL "Enable heap allocator for message buffers" FORCE )
293
+ endif ()
294
+
253
295
if (CONFIG_OPENTHREAD_MLE_LONG_ROUTES )
254
296
set (OT_MLE_LONG_ROUTES ON CACHE BOOL "Enable MLE long routes support (Experimental)" FORCE )
255
297
else ()
@@ -274,6 +316,18 @@ else()
274
316
set (OT_MULTIPLE_INSTANCE OFF CACHE BOOL "Enable multiple instances" FORCE )
275
317
endif ()
276
318
319
+ if (CONFIG_OPENTHREAD_NAT64_BORDER_ROUTING )
320
+ set (OT_NAT64_BORDER_ROUTING ON CACHE BOOL "Enable border routing NAT64 support" FORCE )
321
+ else ()
322
+ set (OT_NAT64_BORDER_ROUTING OFF CACHE BOOL "Enable border routing NAT64 support" FORCE )
323
+ endif ()
324
+
325
+ if (CONFIG_OPENTHREAD_NAT64_TRANSLATOR )
326
+ set (OT_NAT64_TRANSLATOR ON CACHE BOOL "Enable NAT64 translator" FORCE )
327
+ else ()
328
+ set (OT_NAT64_TRANSLATOR OFF CACHE BOOL "Enable NAT64 translator" FORCE )
329
+ endif ()
330
+
277
331
if (CONFIG_OPENTHREAD_NEIGHBOR_DISCOVERY_AGENT )
278
332
set (OT_NEIGHBOR_DISCOVERY_AGENT ON CACHE BOOL "Enable neighbor discovery agent support" FORCE )
279
333
else ()
@@ -286,6 +340,12 @@ else()
286
340
set (OT_NETDATA_PUBLISHER OFF CACHE BOOL "Enable Thread Network Data publisher" FORCE )
287
341
endif ()
288
342
343
+ if (CONFIG_OPENTHREAD_OTNS )
344
+ set (OT_OTNS ON CACHE BOOL "Enable OTNS support" FORCE )
345
+ else ()
346
+ set (OT_OTNS OFF CACHE BOOL "Enable OTNS support" FORCE )
347
+ endif ()
348
+
289
349
if (CONFIG_OPENTHREAD_PING_SENDER )
290
350
set (OT_PING_SENDER ON CACHE BOOL "Enable ping sender support" FORCE )
291
351
else ()
@@ -304,6 +364,12 @@ else()
304
364
set (OT_PLATFORM_UDP OFF CACHE BOOL "Enable platform UDP support" FORCE )
305
365
endif ()
306
366
367
+ if (CONFIG_OPENTHREAD_RADIO_LINK_IEEE_802_15_4_ENABLE )
368
+ set (OT_15_4 ON CACHE BOOL "Enable 802.15.4 radio" FORCE )
369
+ else ()
370
+ set (OT_15_4 OFF CACHE BOOL "Enable 802.15.4 radio" FORCE )
371
+ endif ()
372
+
307
373
if (CONFIG_OPENTHREAD_RAW )
308
374
set (OT_LINK_RAW ON CACHE BOOL "Enable Link Raw" FORCE )
309
375
else ()
@@ -346,16 +412,22 @@ else()
346
412
set (OT_SRP_SERVER OFF CACHE BOOL "Enable SRP Server support" FORCE )
347
413
endif ()
348
414
415
+ if (CONFIG_OPENTHREAD_TIME_SYNC )
416
+ set (OT_TIME_SYNC ON CACHE BOOL "Enable the time synchronization service feature" FORCE )
417
+ else ()
418
+ set (OT_TIME_SYNC OFF CACHE BOOL "Enable the time synchronization service feature" FORCE )
419
+ endif ()
420
+
349
421
if (CONFIG_OPENTHREAD_TREL )
350
422
set (OT_TREL ON CACHE BOOL "Enable TREL radio link for Thread over Infrastructure feature" FORCE )
351
423
else ()
352
424
set (OT_TREL OFF CACHE BOOL "Enable TREL radio link for Thread over Infrastructure feature" FORCE )
353
425
endif ()
354
426
355
- if (CONFIG_OPENTHREAD_TIME_SYNC )
356
- set (OT_TIME_SYNC ON CACHE BOOL "Enable the time synchronization service feature " FORCE )
427
+ if (CONFIG_OPENTHREAD_TX_BEACON_PAYLOAD )
428
+ set (OT_TX_BEACON_PAYLOAD ON CACHE BOOL "Enable tx beacon payload support " FORCE )
357
429
else ()
358
- set (OT_TIME_SYNC OFF CACHE BOOL "Enable the time synchronization service feature " FORCE )
430
+ set (OT_TX_BEACON_PAYLOAD OFF CACHE BOOL "Enable tx beacon payload support " FORCE )
359
431
endif ()
360
432
361
433
if (CONFIG_OPENTHREAD_UDP_FORWARD )
@@ -370,18 +442,6 @@ else()
370
442
set (OT_UPTIME OFF CACHE BOOL "Enable support for tracking OpenThread instance's uptime" FORCE )
371
443
endif ()
372
444
373
- if (CONFIG_OPENTHREAD_OTNS )
374
- set (OT_OTNS ON CACHE BOOL "Enable OTNS support" FORCE )
375
- else ()
376
- set (OT_OTNS OFF CACHE BOOL "Enable OTNS support" FORCE )
377
- endif ()
378
-
379
- if (CONFIG_OPENTHREAD_FULL_LOGS )
380
- set (OT_FULL_LOGS ON CACHE BOOL "Enable full logs" FORCE )
381
- else ()
382
- set (OT_FULL_LOGS OFF CACHE BOOL "Enable full logs" FORCE )
383
- endif ()
384
-
385
445
if (CONFIG_OPENTHREAD_COPROCESSOR_VENDOR_HOOK_SOURCE )
386
446
set (OT_NCP_VENDOR_HOOK_SOURCE ${CONFIG_OPENTHREAD_COPROCESSOR_VENDOR_HOOK_SOURCE} CACHE STRING "NCP vendor hook source file name" FORCE )
387
447
endif ()
0 commit comments