Minimal no_std embassy main() on esp32s3: "abort() was called at PC 0x403ceab9" #1565
-
I guess this abort() comes from the Here's the complete code, output and some more context: https://github.com/brainstorm/esp-rs-embassy-abort-repro |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
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 abuild.rs
like the template does: https://github.com/esp-rs/esp-template/blob/c5064f03b5cf5a1f8a2682a308aed5f381770931/build.rs#L1-L2