1 unstable release
|0.1.1||Nov 4, 2018|
#47 in #embedded-hal
1 downloads per month
This crate implements a BSP for the ST NUCLEO-L011K4 development board. It is intended to ease development while relieving the programmer of tracking peripheral and pin combinations, as well as providing helper methods for instantiating peripherals.
An example of crate usage can be found in
Building this (and the dependent crates) requires a nightly compiler.
STM L031K6-Nucleo board support
This crate provides convenience methods for working with the L031K6-Nucleo development board, and is intended to serve as a kind of example for how a board support crate might work. Under the hood, it ties pin function together with peripheral instantiation. Peripherals take as arguments, and subsequently own, the pins they're attached to. This speeds development considerably, and reduces a lot of boilerplate setup code.
You can find a basic working example in [