2025-07-16 9:43 PM
Hi,
I am integrating the STHS34PF80 proximity MEMS sensor using the STMicroelectronics HAL from the following repository:
https://github.com/STMicroelectronics/st-mems-android-linux-sensors-hal/tree/master
However, when I run the HAL binary, I encounter the following error:
"root@imx8mp-lpddr4-evk:/st-mems-android-linux-sensors-hal/linux/build# ./stm-sensors-linux
failed to open config file [/etc/stm-sensors-hal/config], using defaults
found 5 IIO devices available under /sys/bus/iio/devices
sths34pf80_tmotion: IIO device not supported by sensorHAL
sths34pf80_tobject_comp: IIO device not supported by sensorHAL
sths34pf80_tpresence: IIO device not supported by sensorHAL
sths34pf80_tambshock: IIO device not supported by sensorHAL
sths34pf80_tobjamb: IIO device not supported by sensorHAL
No IIO sensors found!
no sensors available!"
Could you please guide me on how to add support for the sths34pf80 sensor in the ST HAL or help me resolve this issue?
Thank you.
2025-07-17 8:29 AM
Hi @vrindar ,
For what kind of application are you using STHS34PF80?
Unfortunately, currently, the HAL does not support all sensors, but only a subset reported in the <hal top dir>/core/SensorsSupported.cpp file