1# Copyright 2024 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. 14 15package(default_visibility = ["//:__subpackages__"]) 16 17platform( 18 name = "nrf52833", 19 constraint_values = [ 20 "//pw_build/constraints/arm:cortex-m0", 21 "//pw_build/constraints/chipset:nrf52833", 22 "@platforms//cpu:armv6-m", 23 "@platforms//os:none", 24 ], 25) 26 27# Primarily a QEMU supported m0 target for rust development, based on the 28# nRF51822. 29platform( 30 name = "microbit", 31 constraint_values = [ 32 "//pw_build/constraints/board:microbit", 33 "@rust_crates//:no_std", 34 "@platforms//os:none", 35 # We have no pw_sys_io backend for this platform. 36 ], 37 parents = [":nrf52833"], 38) 39