1 # Copyright (c) 2020 Project CHIP Authors
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 import("//build_overrides/chip.gni")
16 import("//build_overrides/efr32_sdk.gni")
18 import("${chip_root}/examples/platform/efr32/args.gni")
20 # ARM architecture flags will be set based on efr32_family.
21 arm_platform_config = "${efr32_sdk_build_root}/efr32_arm.gni"
23 mbedtls_target = "${efr32_sdk_build_root}:efr32_sdk"
25 openthread_external_mbedtls = mbedtls_target
27 chip_device_platform = "efr32"
29 lwip_platform = "efr32"
34 chip_inet_config_enable_ipv4 = false
35 chip_inet_config_enable_dns_resolver = false
37 chip_build_tests = false
39 openthread_core_config_platform_check_file =
40 "openthread-core-efr32-config-check.h"
41 openthread_project_core_config_file = "OpenThreadConfig.h"
42 openthread_core_config_deps = [ "${chip_root}/examples/platform/efr32:openthread_core_config_efr32_chip_examples" ]
44 openthread_external_platform =
45 "${chip_root}/third_party/openthread/platforms/efr32:libopenthread-efr32"
47 chip_config_memory_management = "platform"