[audio][drivers] Bootstrap repository for Dialog drivers

Bug: 102079
Test: ./scripts/smoke_test.sh
...
Emulator is ready.
...
*** tools/ffx repository server start
ffx repository server is listening on [::]:8083
*** tools/ffx config set driver true
*** tools/ffx target default set _smoke_test
*** tools/ffx target repository register -r workstation-repo --alias fuchsia.com
Success!

Change-Id: I50decafa742ae0a841c38e740bd502e6b462e852
14 files changed
tree: 26e9fb12ede3b3849377da3930bb5f9e3804dd00
  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.