CONFIG_MPU9150_I2C_ADDR

MPU9180 I2C address

Type: hex

Help

I2C address of the MPU9150. If the driver for MPU6050 is enabled, its address will be used and this option made unavailable.

Direct dependencies

MPU9150 && !MPU6050 && AK8975 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0x68

Kconfig definition

At drivers/sensor/ak8975/Kconfig:48

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:56drivers/sensor/Kconfig:38

Menu path: (Top) → Device Drivers → Sensor Drivers → AK8975 Magnetometer → Enable MPU9180 support

config MPU9150_I2C_ADDR
    hex "MPU9180 I2C address"
    range 0x68 0x69
    default 0x68
    depends on MPU9150 && !MPU6050 && AK8975 && SENSOR
    help
      I2C address of the MPU9150. If the driver for MPU6050 is enabled,
      its address will be used and this option made unavailable.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)