mirror of
https://github.com/espressif/openthread.git
synced 2026-09-16 14:10:09 +00:00
[backbone-router] add build options for Backbone Router features (#5891)
This commit introduces two configurations for Backbone Router to turn off corresponding features: - OPENTHREAD_CONFIG_BACKBONE_ROUTER_DUA_NDPROXYING_ENABLE: 1 by default, set to 0 to disable Backbone Router DUA ND Proxying - OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE: 1 by default, set to 0 to disable Backbone Router Multicast Routing Both configuration requires OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE. NOTE: At least one of these two configurations must be ON if OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE=1(otherwise it's meaningless to turn on OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE).
This commit is contained in:
@@ -46,6 +46,14 @@ build_all_features()
|
||||
reset_source
|
||||
"$(dirname "$0")"/cmake-build simulation -DOT_OTNS=ON -DOT_SIMULATION_VIRTUAL_TIME=ON -DOT_THREAD_VERSION=1.2 -DOT_DUA=ON -DOT_MLR=ON -DOT_BACKBONE_ROUTER=ON -DOT_CSL_RECEIVER=ON
|
||||
|
||||
# Build Thread 1.2 Backbone Router without DUA ND Proxying
|
||||
reset_source
|
||||
"$(dirname "$0")"/cmake-build simulation -DOT_OTNS=ON -DOT_SIMULATION_VIRTUAL_TIME=ON -DOT_THREAD_VERSION=1.2 -DOT_MLR=ON -DOT_BACKBONE_ROUTER=ON -DOT_CSL_RECEIVER=ON -DOT_BACKBONE_ROUTER_DUA_NDPROXYING=OFF
|
||||
|
||||
# Build Thread 1.2 Backbone Router without Multicast Routing
|
||||
reset_source
|
||||
"$(dirname "$0")"/cmake-build simulation -DOT_OTNS=ON -DOT_SIMULATION_VIRTUAL_TIME=ON -DOT_THREAD_VERSION=1.2 -DOT_MLR=ON -DOT_BACKBONE_ROUTER=ON -DOT_CSL_RECEIVER=ON -DOT_BACKBONE_ROUTER_MULTICAST_ROUTING=OFF
|
||||
|
||||
# Build with Vendor Extension
|
||||
reset_source
|
||||
"$(dirname "$0")"/cmake-build simulation -DOT_VENDOR_EXTENSION=../../src/core/common/extension_example.cpp
|
||||
|
||||
Reference in New Issue
Block a user