Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.14 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.14 KB

Harp VestibularH1

This repository contains the device metadata, firmware and high-level interface to the VestibularH1 device. Below are simple getting started instructions for maintainers to create a new device using the automatic code generators.

Device metadata

Prerequisites

  1. Install Visual Studio Code
  2. Install the YAML extension.

The device.yml file in the root of the project contains the VestibularH1 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.

Generating interface and firmware

Prerequisites

  1. Install dotnet
  2. 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 VestibularH1 device. To run the text templating engine just build the project inside this folder.

cd Generators
dotnet build