rust-embedded / rust-embedded/cortex-m
"Thread 'main' panicked" build.rs quit compiling with rp_hal
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 202
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 2
Description
I am a rust newbie trying to compile a rust program for target rp2040 (cortexv6-m), and trying to build the cortex-m package 0.7.7 crashes with a panic while trying to copy the static library (build.rs:25). I am using rp_hal because I wish to be able to communicate with rp2040 hardware from my app. The app is building as an app under Apache Nuttx, if that makes any difference.
The error seems very very similar to #271 and my issue may be because I don't use the semihosting module, but my target won't have anything to semihost with.
I can provide more details if needed... can you help?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the cortex-m 0.7.7 build for the rp2040 (cortexv6-m) target under Apache Nuttx, then inspect build.rs line 25 where the static library copy panics. Compare the failure with issue #271 and check whether the absence of semihosting is relevant. Done means identifying the cause and documenting or fixing the build failure for this target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100