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

no-std bin+lib nucleo-l011k4-bsp

Board support crate for the ST L011K4-NUCLEO

2 unstable releases

0.2.0 Aug 8, 2020
0.1.1 Nov 4, 2018

#8 in #nucleo

0BSD license

13KB
235 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


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

~13MB
~386K SLoC