New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional cell sam4l #1058

Merged
merged 4 commits into from Jul 3, 2018

Conversation

Projects
None yet
2 participants
@ppannuto
Copy link
Member

ppannuto commented Jul 1, 2018

Pull Request Overview

This pull request updates sam4l to use OptionalCells where appropriate.

Depends on #1056.

Testing Strategy

Compiling.

TODO or Help Wanted

  • Testing on Sam4L HW

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make formatall.

ppannuto added some commits Jul 1, 2018

tock-cells: Add `replace` method to `OptionalCell`
Sometimes you have an `Option` that you'd like to put in an `OptionalCell`,
which means you need to either `set` or `clear` to `OptionalCell` depending
on the `Option` you're putting in. This implements that logic in `OptionalCell`.

@phil-levis phil-levis merged commit 185e71f into master Jul 3, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details

@bradjc bradjc deleted the optional-cell-sam4l branch Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment