Module to be able to use an QMC5883L magnetometer. Intorduction: Honeywell discontinued the HMC5983/HMC5883L in 2016 and licensed the technology to QST Corporation, who now manufacture the replacement QMC5883L. However, while the QMC5883L is pin compatible with HMC, it's registers are not the same as the Honeywell device. It's essentially a different chip. QST Corporation have produced two versions of the QMC5883L: A completely undocumented 'A' version with "DA 5883" on the QFN package that responds to the I2C address 0x1E. It's identical to the HMC5983/HMC5883L, except that the status register doesn't work. The DA 5883 is not supported by this driver since we have not seen any samples of this DA version in the wild A documented 'B' version with "DB 5833" on the QFN package that responds to I2C address 0x0D. This works as per the QMC5883L datasheet. TIP: An arbitrary rotation between the sensor frame and the IMU frame can be compensated with a MAG_TO_IMU rotation, defined by three euler angles. The three angles must be defined to enable this correction. Otherwise it is assumed that the IMU and MAG axis are aligned.
i2c,@imu mag
ifeq ($(MAG_QMC5883L_I2C_DEV),) $(error mag_qmc5883l module error: please configure MAG_QMC5883L_I2C_DEV) endif