Video: [1]
Source code: [2]
[1]: https://blog.eldruin.com/ad983x-waveform-generator-dds-drive...
[2]: https://github.com/eldruin/driver-examples/blob/master/stm32...
134 karma · joined April 7, 2020
I blog mostly about Rust on embedded: https://blog.eldruin.com
Video: [1]
Source code: [2]
[1]: https://blog.eldruin.com/ad983x-waveform-generator-dds-drive...
[2]: https://github.com/eldruin/driver-examples/blob/master/stm32...
The classic (and oldest) are the AVR microcontrollers (ATmega), which are not supported by embassy nor rtic at the moment AFAIK. They are supported by Rust, though. see: https://github.com/rahix/avr-hal.
However, there are several other Arduino microcontrollers that are supported. For example the Arduino Nano RP2040, Arduino Nano 33 BLE (nRF), the Arduino MKR ones as well as the STM32duino (STM32F103, the one in the hugely popular $2 blue-pill boards) are all based on the ARM cortex-m architecture, which is supported by both embassy as well as rtic.
For espressif chips (like the esp32), support is being worked on by the manufacturer itself: https://github.com/embassy-rs/embassy/issues/745
Here an overview of microcontrollers in the (official) Arduino family: https://www.makeuseof.com/exploring-different-types-of-ardui...
There is also RTIC https://rtic.rs which is a concurrency framework for real-time systems using interrupts. IIRC the car industry is interested in it.
I can really recommend getting a micro:bit board and following the discovery book [1].
There are a few other books in the embedded Rust bookshelf [2].
Otherwise, I wrote a bunch of sensor drivers and simple examples for several boards: [3]
[1]: https://docs.rust-embedded.org/discovery/index.html
Then, you may have configured warnings to result in compilation errors in your build/project, however, I would argue this situation is not what most people would understand as "code not compiling due to a compiler update".
See: https://doc.rust-lang.org/book/appendix-07-nightly-rust.html