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

drivers/pir: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2021-01-04 11:57:58 +01:00
parent 7322a9d8c9
commit 697f61f41a
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 16 additions and 0 deletions

View File

@ -84,6 +84,7 @@ rsource "pca9633/Kconfig"
rsource "pca9685/Kconfig"
rsource "pcd8544/Kconfig"
rsource "ph_oem/Kconfig"
rsource "pir/Kconfig"
rsource "sps30/Kconfig"
rsource "tcs37727/Kconfig"
rsource "tmp00x/Kconfig"

15
drivers/pir/Kconfig Normal file
View File

@ -0,0 +1,15 @@
# Copyright (c) 2021 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.
#
config MODULE_PIR
bool "PIR Motion Sensor"
depends on HAS_PERIPH_GPIO
depends on HAS_PERIPH_GPIO_IRQ
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_GPIO_IRQ
select MODULE_XTIMER