rust-embedded / cortex-m-quickstart

Template to develop bare metal applications for Cortex-M microcontrollers
809 stars 167 forks source link

Update examples #23

Closed kitlith closed 6 years ago

kitlith commented 6 years ago

First commit fixes compiliation issues that I encountered/updates to newer versions of crates, but hasn't been tested as I don't have code running on my MCU yet. I'm new to rust, so this is my best-guess as to how it's supposed to work.

Second commit adds comments to Cargo.toml/Xargo.toml as an alterative to copy-pasting from the examples or using cargo add. (it's what I used to get everything to work, so that should include known-good versions and whatnot.)

japaric commented 6 years ago

This is pretty good! Thanks @kitling :+1: