Update Mbed OS to known release version from 5.15-branch.
Update sensor driver code to latest version.
Change sensor abstraction level to be it's own.
It does not depend on the board target - you can attach the sensor board to almost any STM32 devkit and it will work.
*Tidy up the way the configurations are done - centralize them to the header to minimize ifdefs.
With the default option of SENSOR_IKS01A2=0 they get left out completely. Compiler knows how to optimize them out.
With the default option of
SENSOR_IKS01A2=0
they get left out completely. Compiler knows how to optimize them out.