# Copyright (c) 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # menuconfig MODULE_MPU9X50 bool prompt "MPU-9X50 accelerometer/magnetometer/gyroscope" if !(MODULE_SAUL_DEFAULT && HAVE_MPU9X50) default y if (MODULE_SAUL_DEFAULT && HAVE_MPU9X50) depends on TEST_KCONFIG depends on HAS_PERIPH_I2C select MODULE_PERIPH_I2C select MODULE_ZTIMER select MODULE_ZTIMER_MSEC choice bool "Sensor variant" default MODULE_MPU9150 if HAVE_MPU9150 default MODULE_MPU9250 if HAVE_MPU9250 depends on MODULE_MPU9X50 help This driver supports both MPU9150 and MPU9250. Choose one model. config MODULE_MPU9150 bool "MPU-9150" config MODULE_MPU9250 bool "MPU-9250" endchoice config HAVE_MPU9150 bool select HAVE_MPU9X50 help Indicates that a mpu9150 sensor is present. config HAVE_MPU9250 bool select HAVE_MPU9X50 help Indicates that a mpu9250 sensor is present. config HAVE_MPU9X50 bool help Indicates that a mpu9X50 sensor is present.