-
Notifications
You must be signed in to change notification settings - Fork 10
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
Ranging examples don't seem to work in release mode #63
Comments
Whoops. I had multiple copies of the dependencies locally. When actually using the changes in nrf-rs/nrf-hal#34, this now works in release mode. Sorry for the noise, but I will keep this open until nrf-rs/nrf-hal#34 has landed upstream, and we have fixed our dependencies. This will probably be fixed naturally by landing #62. |
Makes sense that the missing compiler fences would cause stuff to break in this way. Good to know your changes fix it! |
Both nrf-rs/nrf-hal#34 and #62 have landed. The only thing required to close this issue for good would be to update the minimum version of the |
Now that this crate no longer depends on |
With a fairly recent nightly:
I am unable to get the examples working in
--release
builds. Normal builds work correctly, and I see the output.I have a sneaking suspicion that nrf-rs/nrf-hal#33 is related, however I have tried this using the
beta.4
release ofnrf52832-hal
, which contains fixes for this.I also sometimes get errors that look like this via semihosting on the tag side:
panicked at 'Failed to initialize DW1000: Spi(Transmit)', libcore/result.rs:1009:5
The text was updated successfully, but these errors were encountered: