Skip to content
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

Investigate using embedded-hal-mock for examples #80

Open
hannobraun opened this issue Feb 20, 2019 · 0 comments
Open

Investigate using embedded-hal-mock for examples #80

hannobraun opened this issue Feb 20, 2019 · 0 comments
Labels
component: dw1000 Issue concerns the DW1000 driver good first issue Good for newcomers help wanted Extra attention is needed type: enhancement New feature or request

Comments

@hannobraun
Copy link
Contributor

A lot of this driver's API doesn't have examples, because writing them would be tedious. There are some examples, but they contain their own stub implementations of embedded-hal traits.

I believe both of these issues could be improved using embedded-hal-mock. By mocking embedded-hal traits, we should be able to write API examples that are relatively straight-forward.

The actionable items here are:

  • To investigate whether this is really the case that embedded-hal-mock cloud help here.
  • Extend embedded-hal-mock. I don't it implements all the traits we require.
@hannobraun hannobraun added type: enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Feb 20, 2019
@hannobraun hannobraun added the component: dw1000 Issue concerns the DW1000 driver label Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dw1000 Issue concerns the DW1000 driver good first issue Good for newcomers help wanted Extra attention is needed type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant