1# Copyright 2021 The Pigweed Authors 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); you may not 4# use this file except in compliance with the License. You may obtain a copy of 5# the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12# License for the specific language governing permissions and limitations under 13# the License. 14package(default_visibility = ["//visibility:public"]) 15 16# --- CPU's --- 17alias( 18 name = "cortex_m0", 19 actual = "@bazel_embedded//platforms:cortex_m0", 20) 21 22alias( 23 name = "cortex_m1", 24 actual = "@bazel_embedded//platforms:cortex_m1", 25) 26 27alias( 28 name = "cortex_m3", 29 actual = "@bazel_embedded//platforms:cortex_m3", 30) 31 32alias( 33 name = "cortex_m4", 34 actual = "@bazel_embedded//platforms:cortex_m4", 35) 36 37alias( 38 name = "cortex_m4_fpu", 39 actual = "@bazel_embedded//platforms:cortex_m4", 40) 41 42alias( 43 name = "cortex_m7", 44 actual = "@bazel_embedded//platforms:cortex_m7", 45) 46 47alias( 48 name = "cortex_m7_fpu", 49 actual = "@bazel_embedded//platforms:cortex_m7_fpu", 50) 51 52# --- Chipsets --- 53platform( 54 name = "stm32f429", 55 constraint_values = ["//pw_build/constraints/chipset:stm32f429"], 56 parents = [":cortex_m4"], 57) 58 59platform( 60 name = "lm3s6965evb", 61 constraint_values = ["//pw_build/constraints/chipset:lm3s6965evb"], 62 parents = [":cortex_m3"], 63) 64 65# --- Boards --- 66platform( 67 name = "stm32f429i-disc1", 68 constraint_values = ["//pw_build/constraints/board:stm32f429i-disc1"], 69 parents = [":stm32f429"], 70) 71