Skip to content

Approve proven traits #90

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

Closed
therealprof opened this issue Jul 23, 2018 · 6 comments
Closed

Approve proven traits #90

therealprof opened this issue Jul 23, 2018 · 6 comments
Labels

Comments

@therealprof
Copy link
Contributor

I would suspect that there're a lot of candidates where the requirements for being a proven trait are now fulfilled. It would be great if we could collect a list of implementations to remove the unproven gate.

@hannobraun
Copy link
Member

Theoretically, there should be an open issue for each unproven trait, with tags to describe what's missing. See the unproven-api tag.

I'm planning to go through all those issues and update the tags, but given my time budget for embedded-hal, that might take a while :)

It would also be great if someone could make sure that each unproven trait is covered by an open issue.

@caemor
Copy link

caemor commented Nov 5, 2018

I went through the repository and looked for all unproven traits. All points without a checkmark don't have their own unproven issue yet.

Missing implementations:

  • Qei: Qei API #8 - Implemented + demo example in stm32f103xx-hal, no 2nd independent implementation was found in a quick search over the awesome embbeded rust list
  • Pwm: Pwm API #7 - Implemented + demo example in stm32f103xx-hal, no 2nd independent implementation was found in a quick search over the awesome embbeded rust list
  • Capture: Capture API #5 - I couldn't find any impls and drivers

Unproven Traits without issue:

Should we open new issues for these? And maybe close a few of the old issues referenced in the last part?

@hannobraun
Copy link
Member

@caemor

I went through the repository and looked for all unproven traits. All points without a checkmark don't have their own unproven issue yet.

Thank you!

  • blocking::serial::* blocking::serial::* API #40 - Is this already proven? As the unproven status only exists in the changelog and the issue itself but not in the code!

No idea.

I removed the tags.

Missing implementations:

  • Qei: Qei API #8 - Implemented + demo example in stm32f103xx-hal, no 2nd independent implementation was found in a quick search over the awesome embbeded rust list

  • Pwm: Pwm API #7 - Implemented + demo example in stm32f103xx-hal, no 2nd independent implementation was found in a quick search over the awesome embbeded rust list

  • Capture: Capture API #5 - I couldn't find any impls and drivers

Did you find drivers using Qei and Pwn?

Unproven Traits without issue:

Should we open new issues for these? And maybe close a few of the old issues referenced in the last part?

Yes, opening issues for those is probably a good idea. If you want to do that, that would be very appreciated! If you need someone with permissions to close issues or add tags, feel free to ping me and tell me what to do. I don't have much time for deep-thinking work right now, but I should be able to find a minute here or there to follow simple instructions :)

@eldruin
Copy link
Member

eldruin commented Nov 12, 2018

I would like to write a driver for PCA9585 and/or TLC5947 using the PWM traits some time soon.

@eldruin
Copy link
Member

eldruin commented Jan 6, 2020

Follow up: I did write a driver for the PCA9685 driver I could not implement either of the PWM traits because all the methods are infallible. I did not feel like starting another digital::v2 debacle so I've just dropped it. Some more comments at #7

@ryankurte
Copy link
Contributor

As of the recent hal-team discussion and 1.0.0-alpha, unproven has been removed and all traits are fallible, which I believe resolves this issue 🎉 (Please feel free to re-open if I have overlooked something and this is not the case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants