commit | 28383feba1f16bf362e336630f74b5d76f7b2f75 | [log] [tgz] |
---|---|---|
author | Andres Oportus <andresoportus@google.com> | Tue Oct 18 18:37:58 2022 +0000 |
committer | Andres Oportus <andresoportus@google.com> | Fri Oct 21 15:07:03 2022 +0000 |
tree | 532bbd127dd0119579e767e4b528d33c3f4bc7b1 | |
parent | 9516a0ae91b94fa10319e00649cad381a1755223 [diff] |
[audio][drivers] Add da7219 build check Test: ./scripts/build.sh fails if the driver can't build, passes otherwise Change-Id: I8ea1502e97b24fa85a07d053eabf5a10af6d270e
This repository contains instructions and source code to build Dialog drivers using only the Fuchsia SDK.
scripts/bootstrap.sh
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
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
Follow the README.md for the specific driver, for instance da7219/README.md.