rust-embedded / cortex-m-quickstart

Template to develop bare metal applications for Cortex-M microcontrollers
791 stars 164 forks source link

use LLD as the default linker #41

Closed japaric closed 6 years ago

japaric commented 6 years ago

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

driftregion commented 6 years ago

Hi. I am a beginner. Thanks for working on this. I experienced the issue described in # 92 today.
I've been working from the cortex-m-quickstart docs. Step 5 describes editing .cargo/config. Perhaps the quickstart is a good place to mention this?

japaric commented 6 years ago

bors r=therealprof,korken89

bors[bot] commented 6 years ago

Build failed

japaric commented 6 years ago

Last commit should fix the build errors. re-r?

therealprof commented 6 years ago

bors r+

bors[bot] commented 6 years ago

Build succeeded