As base was given SparkFun arduino library[1]. Derriving from an abstract and implementing several methods you could use it for different hardware
1 https://github.com/sparkfun/SparkFun_MPU-9250_Breakout_Arduino_Library
C++ library for the gy-91 module compatible with stm32 Low Level Library
C++GPL-3.0
As base was given SparkFun arduino library[1]. Derriving from an abstract and implementing several methods you could use it for different hardware
1 https://github.com/sparkfun/SparkFun_MPU-9250_Breakout_Arduino_Library