4 ms·
I've had pretty good luck with rust on stm32. Toolchain was just a matter of `rustup target install thumbv7m-none-eabi` and `cargo-embed`. The little bit of mis
by kennywinker 5y ago
I've had pretty good luck with rust on stm32. Toolchain was just a matter of `rustup target install thumbv7m-none-eabi` and `cargo-embed`. The little bit of mismatch between the various HAL projects makes switching specific MCUs un-fun, but as long as you're just sticking with one, I would recommend.
- Steltek 5y agoThe esp32 vs avr split covers a pretty wide range of needs. esp32 for wifi stuff, horsepower, or just more pins. The AVR is for power sipping things: ATtiny pulls 10nA(!) in deep sleep and you don't need a voltage regulator on a 1s lithium cell. Since this is all hobby projects anyway, I may pick up an stm32 board for the next round just to see what's up.
- bschwindHN 5y agoI'd recommend an STM32 for now as well, it was quite easy to get a project going in Rust on those chips.
- the__alchemist 5y agoI wrote [this STM32-Hal lib](https://github.com/David-OConnor/stm32-hal https://github.com/David-OConnor/stm32-hal) that makes switching easy. Switching between and within STM32 families is transparent, with some exceptions like DMA MUX.
- kennywinker 5y agoThis is fantastic! Thanks for sharing. I’m excited to try this on my next project
- OJFord 5y agoWhat's the equivalent step to CubeMX, manually selecting compatible features to turn on in cargo.toml and declaring which pin (if applicable) yourself?