third_party.pigweed.src/pw_i2c_mcuxpresso/BUILD.bazel
Swati Wagh 9be741a17a pw_i2c_mcuxpresso: support pw_i2c on MCUXpresso SDK
Change-Id: I659ddb43fdca5be9439d6c282b50cbc205adcbe6
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/70180
Reviewed-by: Scott James Remnant <keybuk@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Swati Wagh <swatiwagh@google.com>
2022-02-23 01:50:54 +00:00

37 lines
1.1 KiB
Python

# Copyright 2022 The Pigweed 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
#
# https://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.
load(
"//pw_build:pigweed.bzl",
"pw_cc_library",
)
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
pw_cc_library(
name = "pw_i2c_mcuxpresso",
srcs = ["initiator.cc"],
hdrs = ["public/pw_i2c_mcuxpresso/initiator.h"],
deps = [
"//pw_chrono:system_clock",
"//pw_i2c:initiator",
"//pw_status",
"//pw_sync:interrupt_spin_lock",
"//pw_sync:lock_annotations",
"//pw_sync:mutex",
"//pw_sync:timed_thread_notification",
],
)