Linux device drivers for STMicroelectronics MEMS motion and environmental sensors, based on the Linux Input device system, are available in source code in STMicroelectronics public GitHub repository. The repository contains the Linux kernel (v3.10, v3.4) with STMicroelectronics MEMS sensor support; the sensor drivers are located under the directory drivers/input/misc/st and organized by sensor type. The sensor drivers support SPI and I²C interfaces.
STMicroelectronics also provides the STM Android sensor Hardware Abstraction Layer (HAL) for the Linux Input device system; it defines a standard interface for STM sensors allowing Android to be agnostic about lower-level driver implementations.
Integration details are available in the README section of the GitHub repository.
- Linux device drivers for Input framework
- Android sensor Hardware Abstraction Layer (HAL) for Input framework
- SPI and I²C interfaces supported
- Available in STMicroelectronics public GitHub repository