rust-embedded / cortex-m-rt

Minimal startup / runtime for Cortex-M microcontrollers
https://rust-embedded.github.io/cortex-m-rt/
Apache License 2.0
359 stars 85 forks source link

Add warning about `use pac` #272

Closed jamesmunns closed 4 years ago

jamesmunns commented 4 years ago

If you don't use the pac, just include it as a dependency, you get a confusing "missing device feature" warning. This bit me.

I'll add a warning to link.x.in after my stream :)

jamesmunns commented 4 years ago

Just kidding, this exists in the unreleased version here: https://github.com/rust-embedded/cortex-m-rt/blob/master/link.x.in#L194

jamesmunns commented 4 years ago

CC #268