<wangeng[m]>
There are build.rs and memory.x file in workspace directory.
<JamesMunns[m]>
you still need to tell the linker to use link.x, as Adam said above.
<JamesMunns[m]>
cortex-m-rt provides `link.x`, which includes your `memory.x`, but you need to tell the linker to use `link.x` (either in the build-rs or `.cargo/config.toml`, which I haven't seen in any of your screenshots.
<wangeng[m]>
uh,,,,, I'll try it later, thank you very much!
Noah[m] has joined #rust-embedded
<Noah[m]>
What I find a bit unfortunate is that a missing linker script still compiles silently and is like "here take zero bytes binary"
<thejpster[m]>
yeah, rust-lld seems to ship with a default configuration that just drops everything. That's not terribly helpful.
ello_ has quit [Ping timeout: 260 seconds]
ello has quit [Ping timeout: 265 seconds]
ello has joined #rust-embedded
ello_ has joined #rust-embedded
pcs38 has quit [Quit: leaving]
ello_ has quit [Read error: Connection reset by peer]