You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Daniel Egger e74eea773d
Merge pull request #33 from david-sawatzke/spi_example
Add a basic spi example which isn't dependent on external components
4 years ago
.cargo First release of stm32f0xx-hal based on stm32f042-hal 4 years ago
examples Add a basic spi example 4 years ago
src More rubost error handling for I2C 4 years ago
tools First release of stm32f0xx-hal based on stm32f042-hal 4 years ago
.gitignore First release of stm32f0xx-hal based on stm32f042-hal 4 years ago
.travis.yml Update Travis config and README to include new devices 4 years ago
CHANGELOG.md More rubost error handling for I2C 4 years ago
Cargo.toml Bumped version to 0.11.0 for release 4 years ago
LICENSE-0BSD.txt Added forgotten LICENSE file 4 years ago
README.md Add badges to README 4 years ago
memory.x Use the smallest available flash& ram size 4 years ago
openocd.cfg First release of stm32f0xx-hal based on stm32f042-hal 4 years ago
openocd_program.sh First release of stm32f0xx-hal based on stm32f042-hal 4 years ago

README.md

stm32f0xx-hal

Travis Crates.io docs.rs

stm32f0xx-hal contains a hardware abstraction on top of the peripheral access API for the STMicro STM32F0xx family of microcontrollers. It replaces the stm32f042-hal by a more ubiqitous version suitable for additional families.

Currently supported configuration are:

  • stm32f030
  • stm32f030x4
  • stm32f030x6
  • stm32f030x8
  • stm32f030xc
  • stm32f042
  • stm32f070
  • stm32f070x6
  • stm32f070xb

The idea behind this crate is to gloss over the slight differences in the various peripherals available on those MCUs so a HAL can be written for all chips in that same family without having to cut and paste crates for every single model.

Collaboration on this crate is highly welcome as are pull requests!

This crate relies on Adam Greigs fantastic stm32f0 crate to provide appropriate register definitions and implements a partial set of the embedded-hal traits.

Some of the implementation was shamelessly adapted from the stm32f103xx-hal crate by Jorge Aparicio.

License

0-clause BSD license.