ah- / anne-key

Firmware for Anne Pro Keyboard written in Rust
Apache License 2.0
567 stars 32 forks source link

try out arch's binutils #73

Closed hdhoang closed 6 years ago

hdhoang commented 6 years ago

You are correct that we only need the linker. I have switched to arch's binutils which is what I use locally. I'm most hopeful that this build is usable by others too.

The other dependencies need to go together in a big change (after japaric/cortex-m-rtfm#87 is released). I see you're already moving -hal forwards?

hdhoang commented 6 years ago

I have successfully built a dfu using llvm-tools-preview and cargo-binutils, after upgrading to japaric/cortex-m-rtfm#87. I think that path is more worthwhile to follow than figuring out which arm-gcc works for other users.

therealprof commented 6 years ago

Indeed. We're trying to get rid of all the (unstable) loose ends. So japaric came up with a way to provide pre-compiled assembler primitives which can be linked in directly with the available llvm linker.