blob: 2d1279a971b0de5492151200022517da105e86fc [file] [log] [blame]
# Copyright 2024 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.
module(name = "examples")
bazel_dep(name = "pico-sdk", version = "2.0.0")
bazel_dep(name = "pigweed")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "pw_toolchain")
bazel_dep(name = "rules_python", version = "0.34.0")
local_path_override(
module_name = "pigweed",
path = "third_party/pigweed",
)
local_path_override(
module_name = "pw_toolchain",
path = "third_party/pigweed/pw_toolchain_bazel",
)
git_override(
module_name = "nanopb",
commit = "7c6c581bc6f7406a4f01c3b9853251ff0a68458b",
remote = "https://github.com/nanopb/nanopb.git",
)
register_toolchains(
"@pigweed//pw_toolchain/host_clang:host_cc_toolchain_linux",
"@pigweed//pw_toolchain/host_clang:host_cc_toolchain_macos",
dev_dependency = True,
)