22 releases (5 breaking)
Uses old Rust 2015
0.6.5 | Nov 26, 2018 |
---|---|
0.6.2 | Oct 30, 2018 |
0.4.2 | Jul 15, 2018 |
0.3.5 | Mar 21, 2018 |
#210 in #hal
35 downloads per month
51KB
1K
SLoC
stm32f042-hal
stm32f042-hal contains a hardware abstraction on top of the peripheral access API for the STMicro stm32f042 series microcontroller.
This crate relies on my stm32f042 crate to provide appropriate register definitions and implements a partial set of the embedded-hal traits.
Since this chip is very easy to use and put into your own boards I've developped quite a few boards with those chipped and often throw one in just for good measure. Hence I don't have any ready-made eval board I can recommend although there is a nucleo-f042k6 board on the market.
Some of the implementation was shamelessly adapted from the stm32f103xx-hal crate by Jorge Aparicio.
License
Dependencies
~14MB
~404K SLoC