[audio][drivers] Add da7219 build check

Test: ./scripts/build.sh fails if the driver can't build, passes otherwise
Change-Id: I8ea1502e97b24fa85a07d053eabf5a10af6d270e
1 file changed
tree: 532bbd127dd0119579e767e4b528d33c3f4bc7b1
  1. scripts/
  2. src/
  3. third_party/
  4. tools/
  5. .bazelrc
  6. .gitignore
  7. .gitmodules
  8. AUTHORS
  9. CONTRIBUTING.md
  10. LICENSE
  11. OWNERS
  12. PATENTS
  13. README.md
  14. WORKSPACE.bazel
README.md

Fuchsia Dialog drivers

This repository contains instructions and source code to build Dialog drivers using only the Fuchsia SDK.

Prepare yuor environment

  1. Run the bootstrap script that downloads the appropriate Bazel binary:
scripts/bootstrap.sh
  1. To verify that you can use the ffx tool in your environment, run the following command:
tools/ffx sdk version

This command prints output similar to the following:

andresoportus@andresoportus:~/src/dialog$ tools/ffx sdk version
INFO: Cannot find the Fuchsia SDK toolchain, attempting to fetch it...
Starting local Bazel server and connecting to it...
INFO: Analyzed target @fuchsia_sdk//:fuchsia_toolchain_sdk (2 packages loaded, 2 targets configured).
INFO: Found 1 target...
Target @fuchsia_sdk//:fuchsia_toolchain_sdk up-to-date (nothing to build)
INFO: Elapsed time: 46.731s, Critical Path: 0.02s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
9.20221004.1.1
  1. To load the driver components on Qemu, first start the Qemu as specified in https://fuchsia.dev/fuchsia-src/get-started/sdk/get-started-with-driver?hl=en#start-the-emulator

  2. Follow the README.md for the specific driver, for instance da7219/README.md.