#embedded-hal #nucleo #stm32l0x1 #stm32 #stm32l011k4

no-std bin+lib nucleo-l011k4-bsp

Board support crate for the ST L011K4-NUCLEO

1 unstable release

0.1.1 Nov 4, 2018

#32 in #embedded-hal

Download history 3/week @ 2018-11-04

1 downloads per month

0BSD license

12KB
219 lines

NUCLEO-L011K4-BSP

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 src/main.rs

Requirements

Building this (and the dependent crates) requires a nightly compiler.


lib.rs:

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 [main.rs].

Dependencies

~4.5MB
~140K SLoC