# 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/build.gni")
import("//build_overrides/chip.gni")

import("${build_root}/toolchain/arm_gcc/arm_toolchain.gni")

arm_toolchain("k32w_lighting_app") {
  toolchain_args = {
    current_os = "freertos"
    import("${chip_root}/examples/lighting-app/nxp/k32w0/args.gni")
  }
}

arm_toolchain("k32w_lock_app") {
  toolchain_args = {
    current_os = "freertos"
    import("${chip_root}/examples/lock-app/nxp/k32w0/args.gni")
  }
}

arm_toolchain("k32w_contact_sensor_app") {
  toolchain_args = {
    current_os = "freertos"
    import("${chip_root}/examples/contact-sensor-app/nxp/k32w0/args.gni")
  }
}

arm_toolchain("k32w_shell_app") {
  toolchain_args = {
    current_os = "freertos"
    import("${chip_root}/examples/shell/nxp/k32w0/args.gni")
  }
}
