Skip to content

Minimal no_std embassy main() on esp32s3: "abort() was called at PC 0x403ceab9" #1565

Answered by bjoernQ
brainstorm asked this question in Q&A
Discussion options

You must be logged in to vote

I had a look at your repo and the problem is it doesn't produce any code because it doesn't include the linker script

You would either need to add "-C", "link-arg=-Tlinkall.x", to .cargo/config.tom in [build]/rustflags or use a build.rs like the template does: https://github.com/esp-rs/esp-template/blob/c5064f03b5cf5a1f8a2682a308aed5f381770931/build.rs#L1-L2

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brainstorm
Comment options

Answer selected by MabezDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants