stm32-rs / stm32l4xx-hal

A Hardware abstraction layer for the stm32l432xx series chips written in rust.
157 stars 104 forks source link

#294 rtt logging #297

Open Crzyrndm opened 2 years ago

Crzyrndm commented 2 years ago

Uses probe-run / defmt as the runner/logger combo for all examples. I see (after making all the changes...) probe-run now supports rtt-target so if that would be preferred I can update

Additionally, did a bit of clean up on the examples, mostly just merging imports and removing "extern crate" and similar

probe-run is a very minimal runner which should make it easier to make the examples the focus. I did consider cargo-embed, but by default it does not open an RTT session like probe-run does

korken89 commented 2 years ago

Hi, could you look into rebasing this PR? It was unfortunate it was left for so long.