Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Create crate for Tock Registers #984
Pull Request Overview
This PR creates a separate crate for the Tock register interface (named
The driver for this change is to allow other projects to use or extend Tock registers. In order to support this, the
An example of using this crate in an external project can be found here based off of examples from @niklasad1 and @andre-richter. This example both uses Tock registers and extends them with additional functionality. Unfortunately, the first build of this example repo takes a considerable amount of time (several minutes) because using the Tock registers crate requires a clone of the entire Tock repo. Subsequent builds are quick, however.
Compiling all boards.
TODO or Help Wanted
Don't they serve different purposes? I thought
left a comment
My one comment is that if it isn't already there, putting Shane's name somewhere in the documentation would be useful. This was less important when it was internal but if the goal is for other people to use it too giving credit in the files is good.