Sensors in rover firmware

Hello community.
I want to cut out internal mag, accel, gyro and barometer and keep only external magnetometer from GPS module.
It is Pixracer board with APM ROVER stack.
Does anyone know which sensors are mandatory for rover mode?
Please help.
thank you!
Andrew