We're using a STM32F429 and wanted to move stuff around in memory, notably put stack+data into CPU coupled memory, and put framebuffers for the integrated LCD controller into the normal SRAM.
Getting this right while not completely overriding the default `link.x` was quite tricky (especially finding the `INSERT AFTER` life-saver...) so I thought an example would not hurt here.
It should probably also be mentioned in other places (book/...)?
As Cargo.toml now includes edition = "2018", it won't build with rust 1.30-stable. 1.31-stable will be the first stable version to have the edition feature enabled. (See https://internals.rust-lang.org/t/rust-2018-release-schedule-and-extended-beta/8076 for details.)
At the same time, remove the remark about 1.30-beta not being out yet, as it's out by now.
Extended remote allows a lot more features like attaching and detaching and much more fine-grained execution options. If a gdbserver implementation supports it (and OpenOCD sure does) it should be preferred over `remote`.
44: dedup contents of .cargo/config; don't depend on auto-load-safe-path being set r=ithinuel a=japaric
see individual commit messages for details
unfortunately this didn't come up as nice as I expected because there seems to
be a bug around `target.cfg.runner` (rust-lang/cargo#5946). Still, I think this
is an improvement.
r? @rust-embedded/cortex-m
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
42: v0.3.4 r=therealprof a=japaric
a few more updates before the next release
r? @rust-embedded/cortex-m
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
41: use LLD as the default linker r=therealprof a=japaric
closes#39
I added instructions on how to switch to a different linker to .cargo/config but
I don't think that's too visible. Beginners are unlikely to look into that file
if they run into problems with the default linker. Any suggestions to improve
the visibility of that information?
Also, don't merge this until the default linker changes for the Cortex-M targets
on nightly as this relies on that change.
r? @rust-embedded/cortex-m
Co-authored-by: Jorge Aparicio <jorge@japaric.io>