Revert "[roll] Roll rtc_pcf8563-bazel-sdk-cipd packages to version:18.20240216.0.1" This reverts commit 729e108726db2cc6fb57fe17fe6625fa83412051. Reason for revert: broken sdk without companion images: b/325591551 Original change's description: > [roll] Roll rtc_pcf8563-bazel-sdk-cipd packages to version:18.20240216.0.1 > > fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64 new:https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64/+/version:18.20240216.0.1 > fuchsia/sdk/core/fuchsia-bazel-rules/mac-amd64 new:https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/core/fuchsia-bazel-rules/mac-amd64/+/version:18.20240216.0.1 > > From: None > To: version:18.20240216.0.1 > > Roller-URL: https://ci.chromium.org/b/8755954643199297649 > CQ-Do-Not-Cancel-Tryjobs: true > Change-Id: I6f1491bbc103685071432aea15091d53c2b733f8 > Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/992733 > Commit-Queue: GI Roller <global-integration-roller@fuchsia-infra.iam.gserviceaccount.com> Change-Id: I19c145b5e4db846c1e78652d5598aea0a7746437 Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/992974 Commit-Queue: Darren Chan <chandarren@google.com> Reviewed-by: RubberStamper 🤖 <android-build-ayeaye@system.gserviceaccount.com>
This repository is a based on a template repository which will be adopted automatically by OOT driver repositories.
Template repository is located in: https://fuchsia.googlesource.com/template/driver/
To perform an initial bootstrap, execute the following:
In a terminal, clone the repository:
git clone https://fuchsia.googlesource.com/drivers/rtc/nxp/pcf8563
Change to that directory:
cd pcf8563
Fetch all git submodules:
git submodule init && git submodule update --recursive
Bootstrap the build environment:
scripts/bootstrap.sh
Fetch and build the SDK:
tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
See the getting started guide for more info.
The Fuchsia driver package can be built locally with:
tools/bazel build src/drivers/pcf8563:pkg
Run the full test-suite with:
tools/bazel test :tests
Run only the pcf8563 driver tests with:
tools/bazel test src/drivers/pcf8563:test