blob: e79d3a0d65396df7ef0e6ef565e8b30437a66659 [file] [log] [blame]
# 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("ti_simplelink_board.gni")
if (ti_simplelink_device_family == "cc13x4_26x4") {
arm_arch = ""
arm_abi = ""
arm_cpu = "cortex-m33"
arm_float_abi = "hard"
arm_fpu = "fpv5-sp-d16"
arm_use_thumb = true
} else if (ti_simplelink_device_family == "cc32xx") {
arm_arch = "armv7e-m"
arm_abi = ""
arm_cpu = "cortex-m4"
arm_float_abi = "soft"
arm_fpu = ""
arm_use_thumb = true
} else {
assert(false, "ti_simplelink_device_family must be specified")
}