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

Fail to run when compiled with rust nightly #10

Closed
andelf opened this issue Mar 13, 2024 · 1 comment
Closed

Fail to run when compiled with rust nightly #10

andelf opened this issue Mar 13, 2024 · 1 comment

Comments

@andelf
Copy link
Contributor

andelf commented Mar 13, 2024

Clue:

  • The firmware is loaded
  • The PC is at panic_handler.
  • mcause is 0x8000008e

See-also
5e5a0e0#commitcomment-139706558

@andelf
Copy link
Contributor Author

andelf commented Mar 15, 2024

@Merisy-Thing I finally figured out why.

I finally figured out the issue with the *.json target.

I previously used a *.json target successfully with another name. That created some confusion for me initially.

This time, I checked the sections using cargo objdump --release --example debug -- -s and all I found was a "not implemented" message in the .bss section. It seemed like the Rust compiler was complaining about an unrecognized target format.

A simple mistake in the JSON file name format. ‍🥲

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