Pixhawk V2.4.6 Compass BMM150 support

Hello
I want to setup a BMM150 Compass sensor to my pixhawk2.4.6, I test the sensor with the arudino which is totally work, but I can’t calibrate it. I already set the sensor’s I2C address to 0x10.
regaards
XinCheng Ge