Skip to content

The H1 device will be placed inside the moving platform

Notifications You must be signed in to change notification settings

harp-tech/device.vestibularH1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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