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

0.5.10 doesn't compile #146

Closed
thejpster opened this issue May 14, 2019 · 2 comments
Closed

0.5.10 doesn't compile #146

thejpster opened this issue May 14, 2019 · 2 comments

Comments

@thejpster
Copy link
Contributor

If I try and compile 0.5.10 as part of nrf91-rs (0.1.0 is on crates.io) I get this error:

error: failed to run custom build command for `cortex-m v0.5.10`
process didn't exit successfully: `/home/jonathan/Documents/programming/testnrf/target/debug/build/cortex-m-91f41e6494ce18ce/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidInput, error: StringError("the source path is not an existing regular file") }', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

Is this a cortex-m fault or an something the nrf91-rs crate has done wrong?

@little-arhat
Copy link

little-arhat commented May 14, 2019

FWIF, I'm able to compile nrf91-rs with on both stable and nightly (2019-05-13) for my mac target and for thumbv7em-none-eabihf. Both 0.5.10 and 0.6.0 were compiled successfully during building of nrf crate.

@jonas-schievink
Copy link
Contributor

The error indicates a missing bin/thumbv8-X.a. We now do support ARMv8-M and those files exist, so closing.

adamgreig pushed a commit that referenced this issue Jan 12, 2022
146: Mention interrupt attribute in main crate docs r=korken89 a=birkenfeld

Fixes #137

Co-authored-by: Georg Brandl <[email protected]>
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

3 participants