This repository contains the device metadata, firmware and high-level interface to the VestibularH2 device. Below are simple getting started instructions for maintainers to create a new device using the automatic code generators.
- Install Visual Studio Code
- Install the YAML extension.
The device.yml
file in the root of the project contains the VestibularH2 device metadata. A complete specification of device registers, including any bit masks, group masks, and payload specs needs to be provided for code generation to work.
- Install
dotnet
- Install
dotnet-t4
dotnet tool install -g dotnet-t4
The Generators
folder contains all text templates and project files required to generate both the firmware headers and the interface for the VestibularH2 device. To run the text templating engine just build the project inside this folder.
cd Generators
dotnet build