diff --git a/drivers/Kconfig b/drivers/Kconfig index ec324fa75a..96696d150c 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -55,6 +55,7 @@ rsource "ina2xx/Kconfig" rsource "ina3221/Kconfig" rsource "isl29020/Kconfig" rsource "isl29125/Kconfig" +rsource "itg320x/Kconfig" rsource "l3g4200d/Kconfig" rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" diff --git a/drivers/itg320x/Kconfig b/drivers/itg320x/Kconfig new file mode 100644 index 0000000000..492449b979 --- /dev/null +++ b/drivers/itg320x/Kconfig @@ -0,0 +1,22 @@ +# 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_ITG320X + bool "ITG320X 3-axis gyroscope" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER + help + The driver can be used with InvenSense ITG3200, ITG3205, and MPU3050. + +config MODULE_ITG320X_INT + bool "Interrupt mode" + depends on HAS_PERIPH_GPIO_IRQ + select MODULE_PERIPH_GPIO_IRQ + help + Say y to fetch the data when the data-ready interrupt is triggered.