diff --git a/etc/gn/openthread.gni b/etc/gn/openthread.gni index a64d83370..fe494b08e 100644 --- a/etc/gn/openthread.gni +++ b/etc/gn/openthread.gni @@ -231,6 +231,9 @@ if (openthread_enable_core_config_args) { # Enable builtin mbedtls management openthread_config_enable_builtin_mbedtls_management = openthread_external_mbedtls == "" + + # Enable radio coexistence + openthread_config_coexistence_enable = false } } diff --git a/src/core/BUILD.gn b/src/core/BUILD.gn index 25cd1a1d9..bd837f508 100644 --- a/src/core/BUILD.gn +++ b/src/core/BUILD.gn @@ -264,6 +264,10 @@ if (openthread_enable_core_config_args) { if (openthread_config_otns_enable) { defines += [ "OPENTHREAD_CONFIG_OTNS_ENABLE=1" ] } + + if (openthread_config_coexistence_enable) { + defines += [ "OPENTHREAD_CONFIG_PLATFORM_RADIO_COEX_ENABLE=1" ] + } } }