STBrickLib is a growing collection of hardware drivers designed for STM32 microcontrollers, which should also work on other systems.
The library is also installable via PlatformIO.
I develop this project exclusively in my spare time and this mainly for self-teaching purposes. Therefore it is possible that the drivers implemented so far are not yet complete or are untested. Please be patient.
- 24FC256 256Kb I²C compatible 2-wire Serial EEPROM with 1MHz clock compatibility
- MCP2515 Stand-Alone CAN Controller with SPI Interface
To use one of the drivers, you must explicitly enable it. This can be done by passing its corresponding define directive to the compiler. These definitions have the prefix
USE_ and are named after the driver. E.g.:
To enable the drivers to communicate with the microcontroller, they also need an interface. An example implementation can be found in the Examples section.
The documentation can be generated using Doxygen:
A automatically generated version of the documentation can be found here: Documentation
This project is licenced under the "THE BEER-WARE LICENCE". See the file LICENCE.md for details.