discovery icon indicating copy to clipboard operation
discovery copied to clipboard

Microbit/Charpter 07-UART/src/serial_setup.rs

Open ricardo119 opened this issue 10 months ago • 1 comments

I am new in the rust language and I was just using this github repository as my guide. I like to write my code instead of just pulling it from github, works better for me to write the code instead of reading it so, I noticed that this repository is old and have to make some changes in order to use the new versions of some cargos.

I was writing the code for the serial setup to use the UART and couldn't write the code because the embedded-hal crate no longer has the serial trait making the code not updated.

I went to the embedded-hal cargo docs and they changed the serial trait to embeded-io. I tried to implement it and couldn't make it work. Has someone tried to make it work and succeed? Is there other repository that I can read that is more up to date?

Thanks in advance for the help!

ricardo119 avatar Feb 23 '25 21:02 ricardo119

Please see https://github.com/rust-embedded/discovery-mb2 for a more up-to-date version of this.

BartMassey avatar Feb 24 '25 02:02 BartMassey