1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:52:44 +01:00

pkg/uwb-dw1000: add Kconfig module dependency

This commit is contained in:
Francisco Molina 2021-08-26 20:25:43 +02:00
parent a04b892df3
commit cbd12772f3
2 changed files with 30 additions and 0 deletions

View File

@ -49,6 +49,7 @@ rsource "ucglib/Kconfig"
rsource "umorse/Kconfig"
rsource "utensor/Kconfig"
rsource "uwb-core/Kconfig"
rsource "uwb-dw1000/Kconfig"
rsource "wakaama/Kconfig"
rsource "yxml/Kconfig"

29
pkg/uwb-dw1000/Kconfig Normal file
View File

@ -0,0 +1,29 @@
# Copyright (c) 2021 INRIA
#
# 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 PACKAGE_UWB-DW1000
bool "Decawave dw1000 driver package"
select MODULE_UWB-DW1000_HAL
depends on HAS_PERIPH_GPIO
select MODULE_PERIPH_GPIO
depends on HAS_PERIPH_GPIO_IRQ
select MODULE_PERIPH_GPIO_IRQ
depends on HAS_PERIPH_SPI
select MODULE_PERIPH_SPI
depends on HAS_ARCH_32BIT
if PACKAGE_UWB-DW1000
config MODULE_AUTO_INIT_UWB-DW1000
bool "Auto-initialize the uwb-dw1000 package"
default y
depends on MODULE_AUTO_INIT
config MODULE_UWB-DW1000_HAL
bool
endif # PACKAGE_UWB-DW1000