| # Copyright (c) 2020 Project CHIP Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| import("//build_overrides/chip.gni") |
| import("${chip_root}/config/standalone/args.gni") |
| import("${chip_root}/src/platform/silabs/efr32/args.gni") |
| |
| silabs_sdk_target = get_label_info(":sdk", "label_no_toolchain") |
| |
| app_data_model = "${chip_root}/examples/light-switch-app/light-switch-common" |
| chip_enable_ota_requestor = true |
| chip_enable_openthread = true |
| |
| openthread_external_platform = |
| "${chip_root}/third_party/openthread/platforms/efr32:libopenthread-efr32" |
| |
| # ICD Default configurations |
| chip_enable_icd_server = true |
| chip_subscription_timeout_resumption = false |
| sl_use_subscription_synching = true |
| |
| # Openthread Configuration flags |
| sl_ot_idle_interval_ms = 15000 # 15s Idle Intervals |
| sl_ot_active_interval_ms = 500 # 500ms Active Intervals |
| |
| # ICD Matter Configuration flags |
| sl_idle_mode_interval_s = 3600 # 60min Idle Mode Interval |
| sl_active_mode_interval_ms = 60000 # 60s Active Mode Interval |
| sl_active_mode_threshold_ms = 1000 # 1s Active Mode Threshold |