56 Commits

Author SHA1 Message Date
2221e1fa93 Replace rustflags with build.rs extra-link-args.
Rustflags apply to ALL the crates in the graph, while we only need
them for the toplevel crate which is the only one getting linked.

Rustflags are not equal for all crates, this caused cargo to re-build the
same dependency crate multiple times uselessly. After this change, deps
are reused more, making builds faster.

Note that this only applies when sharing the target/ dir for multiple crates
in the repo which is not the default.
2021-11-07 23:52:11 +01:00
f9c266bc10 Omg. More formatting. 2021-11-02 16:06:49 -04:00
16c88e3094 Need to include a bit of embassy for the NVIC. 2021-11-02 15:58:40 -04:00
9deafa8bab Remove unused imports. 2021-11-02 15:56:04 -04:00
eaaaa2460a Formatting, per usual. 2021-11-02 14:53:53 -04:00
3ab1775820 Add STM32U5 example. 2021-11-02 14:43:42 -04:00