This repository contains instructions and source code to build Dialog drivers using only the Fuchsia SDK.
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.