Clone this repo:

Branches

  1. 23f3747 [audio][drivers][da7219] Move to the DriverBase library by Andres Oportus · 5 weeks ago main
  2. 1972c77 [audio][drivers] Add da7219 codec skeleton by Andres Oportus · 6 weeks ago
  3. 28383fe [audio][drivers] Add da7219 build check by Andres Oportus · 6 weeks ago
  4. 9516a0a [audio][drivers] Bootstrap repository for Dialog drivers by Andres Oportus · 7 weeks ago
  5. 5270579 [owners] Add a default OWNERS file to the oss_template by Nathan Mulcahey · 9 months ago

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.