nrf-rs / microbit

A Rust crate for BBC micro:bit development
BSD Zero Clause License
276 stars 61 forks source link

Initial UART(E) implementation #63

Closed hargoniX closed 3 years ago

hargoniX commented 3 years ago

This implements an abstraction for UARTE, very similar to the general I2C abstracttion. At the moment the example doesn't compile for nrf52833 yet, once https://github.com/nrf-rs/nrf-hal/pull/281 is finally merged that should be fairly trivial to do though.

hargoniX commented 3 years ago

Currently this relies on nrf-hal upstream version since writing the example would not exactly be feasible without it, but I think it is none the less read for review and can then be merged once upstream makes a release.

robyoung commented 3 years ago

Looks great, thanks!

bors r+

bors[bot] commented 3 years ago

:-1: Rejected by too few approved reviews

bors[bot] commented 3 years ago

Build succeeded: