1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/itg320x: add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-11-26 16:31:23 +01:00
parent db82f7a5e2
commit 83e1d43009
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 23 additions and 0 deletions

View File

@ -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"

22
drivers/itg320x/Kconfig Normal file
View File

@ -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.