third_party.pigweed.src/pw_sys_io_baremetal_stm32f429/BUILD.bazel
Scott James Remnant 81713a33a0 pw_boot_cortex_m: Rename pw_boot_armv7m to pw_boot_cortex_m:armv7m
Since the implementation is closer to a generic Cortex-M implementation,
rename pw_boot_armv7m to pw_boot_cortex_m, and add a core-specific
target named "armv7m".

This matches pw_cpu_exception_cortex_m.

Toolchain definitions will need ot be changed from:
  pw_boot_BACKEND = dir_pw_boot_armv7m
to
  pw_boot_BACKEND = "$dir_pw_boot_cortex_m:arm7vm"

Change-Id: Id6f4bbf8e6c1ec89afa63de7c93be1f3afa59f09
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54242
Commit-Queue: Scott James Remnant <keybuk@google.com>
Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-07-23 02:00:37 +00:00

38 lines
1.1 KiB
Python

# Copyright 2021 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_sys_io_baremetal_stm32f429",
srcs = ["sys_io_baremetal.cc"],
hdrs = ["public/pw_sys_io_baremetal_stm32f429/init.h"],
target_compatible_with = [
"//pw_build/constraints/chipset:stm32f429",
"@platforms//os:none",
],
deps = [
"//pw_boot_cortex_m:armv7m",
"//pw_preprocessor",
"//pw_sys_io",
],
)