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
Updates RNG HIL to include lifetime, set_client #1050
Pull Request Overview
This pull request updates the random number generation (RNG) HIL trait so that it has a lifetime as well as move set_client to be part of the HIL. It updates chips and boards to use the new trait. Updating the trait in this way is necessary for supporting Tock on Hotel.
It also adds an RNG test in capsules/tests.
Since this does not change any call patterns and I don't have most platforms it was tested only by compilation.
TODO or Help Wanted
This pull request would benefit from functional testing on platforms using the RNG test in capsules/tests.