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

Update to fixed stm32f1 to fix remaining compile errors #3

Closed
therealprof opened this issue Dec 13, 2018 · 1 comment
Closed

Update to fixed stm32f1 to fix remaining compile errors #3

therealprof opened this issue Dec 13, 2018 · 1 comment

Comments

@therealprof
Copy link
Member

Currently the crate does not compile due to a SNAFU in the SVD files which are propagated through the generated PAC:

error[E0432]: unresolved imports `stm32::rcc::cfgr::SWW`, `stm32::rcc::cfgr::USBPREW`
 --> src/rcc.rs:4:24
  |
4 | use stm32::rcc::cfgr::{SWW, USBPREW};
  |                        ^^^  ^^^^^^^ no `USBPREW` in `stm32f103::rcc::cfgr`
  |                        |
  |                        no `SWW` in `stm32f103::rcc::cfgr`. Did you mean to use `_SWW`?

error[E0599]: no method named `usbpre` found for type `&mut stm32f1::stm32f103::rcc::cfgr::W` in the current scope
   --> src/rcc.rs:272:18
    |
272 |                 .usbpre()
    |                  ^^^^^^

error: aborting due to 2 previous errors

Some errors occurred: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
@therealprof
Copy link
Member Author

This has happened! https://crates.io/crates/stm32f1xx-hal

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

No branches or pull requests

1 participant