How to compile BMI160 source code in Debian

Hello.

I would like to know how to compile accelerometer BMI160 source code on a Debian based distro. The distro has a kernel without BMI160 support.

The source code:
https://github.com/BoschSensortec/BMI160_driver, has no general Makefile or documentation on that matter.
It has some examples, but I cannot get them to work.
Could you please provide a complete example?

Thank you.

Best reply by agostinho

OK, problem solved with a newer kernel version and a Bash script to detect auto-rotation events (that executes on system startup).

Regards.

Agostinho

View original
4 replies
Resolved