This repository contains the embedded UART driver sources for Sensirion's SPS product line.
The i2c driver of the SPS is available in the embedded-sps repository.
git clone https://github.com/Sensirion/embedded-uart-sps.git
embedded-uart-common
submodule repository for common UART HALsps30
SPS30 drivermake release
This will create a release folder with the necessary driver files in it, including a Makefile. That way, you have just ONE folder with all the sources ready to build your driver for your platform.
You only need to touch the following files:
sensirion_arch_config.h
architecture specifics, you need to specify the
integer sizessensirion_uart_implementation.c
functions for UART communication
Alternatively ready-to-use implementations are available in the
sample-implementations
folderrelease/sps30-uart
)<stdint.h>
header is not available*_implementation.c
See docs/getting-started-on-the-raspberry-pi.md