diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index 1fbfae8cca..7c58e47b03 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -162,6 +162,7 @@ BUILD_OPTIONS = [ Feature('Compass', 'AK09916', 'AP_COMPASS_AK09916_ENABLED', 'Enable AK09916 compasses', 1, None), Feature('Compass', 'AK8963', 'AP_COMPASS_AK8963_ENABLED', 'Enable AK8963 compasses', 1, None), Feature('Compass', 'BMM150', 'AP_COMPASS_BMM150_ENABLED', 'Enable BMM150 compasses', 1, None), + Feature('Compass', 'BMM350', 'AP_COMPASS_BMM350_ENABLED', 'Enable BMM350 compasses', 1, None), Feature('Compass', 'EXTERNALAHRS_COMPASS', 'AP_COMPASS_EXTERNALAHRS_ENABLED', 'Enable ExternalAHRS compasses', 0, "AHRS_EXT"), # noqa Feature('Compass', 'HMC5843', 'AP_COMPASS_HMC5843_ENABLED', 'Enable HMC5843 compasses', 1, None), Feature('Compass', 'ICM20948', 'AP_COMPASS_ICM20948_ENABLED', 'Enable AK09916 on ICM20948 compasses', 1, "AK09916"), diff --git a/Tools/scripts/decode_devid.py b/Tools/scripts/decode_devid.py index 05eecd7604..ee80f080ae 100755 --- a/Tools/scripts/decode_devid.py +++ b/Tools/scripts/decode_devid.py @@ -66,6 +66,7 @@ compass_types = { 0x14 : "DEVTYPE_AK09918", 0x15 : "DEVTYPE_AK09915", 0x16 : "DEVTYPE_QMC5883P", + 0x17 : "DEVTYPE_BMM350", } imu_types = {