Configure RPi 2 Model B from scratch

Hey all,

Getting error while trying this code example:

./AccelGyroMag -i lsm


Selected: LSM9DS1
Error: Can not open SPI device
Error: Can not open SPI device
Sensor not enabled


Please help to achieve.

Hi,

Making everything run smoothly from scratch is not an easy task, this is why we offer a ready to use image.

https://docs.emlid.com/navio2/Navio-APM/configuring-raspberry-pi/