Skip to content

Update for bare-metal v1.0.0 #453

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
ForsakenHarmony opened this issue Jul 2, 2020 · 2 comments
Closed

Update for bare-metal v1.0.0 #453

ForsakenHarmony opened this issue Jul 2, 2020 · 2 comments

Comments

@ForsakenHarmony
Copy link

https://github.com/rust-embedded/bare-metal/blob/master/CHANGELOG.md#v100---2020-06-23

Same org, so maybe you're already doing it internally, just thought I'd submit this issue because I didn't find anything

@therealprof
Copy link
Contributor

Just for reference, this manifests as:

error[E0405]: cannot find trait `Nr` in crate `bare_metal`
  --> src/lib.rs:68:40
   |
68 | USB = 31 , } unsafe impl bare_metal :: Nr for Interrupt { # [ inline ( always ) ]
   |                                        ^^ not found in `bare_metal`
   |
help: possible candidate is found in another module, you can import it into scope
   |
22 | extern crate cortex_m_rt ; extern crate bare_metal ; extern crate vcell ; use cortex_m::interrupt::Nr;
   |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0405`.
error: could not compile `stm32f0x-test`.

CC rust-embedded/bare-metal#32

therealprof added a commit that referenced this issue Jul 5, 2020
The only dependency on `bare-metal` was the implementation of the `Nr`
trait which has been removed from version 1.0.0
(rust-embedded/bare-metal#32).

Closes #453

Signed-off-by: Daniel Egger <[email protected]>
@burrbull
Copy link
Member

Close by #473

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

Successfully merging a pull request may close this issue.

3 participants