mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a4bc692148
Nightlies are currently failing as there is a difference between make and kconfig. This tries to match the kconfig with the makefile dep. The only issue is the ``` ifneq (,$(filter netdev,$(USEMODULE))) USEMODULE += netdev_ieee802154_submac endif ``` which may have the same effect as select HAVE_IEEE802154_RADIO_HAL_INTERFACE.
36 lines
1008 B
Plaintext
36 lines
1008 B
Plaintext
# Copyright (c) 2022 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_KW2XRF
|
|
bool
|
|
prompt "KW2XRF radio" if !(MODULE_NETDEV_DEFAULT && HAVE_KW2XRF)
|
|
default (MODULE_NETDEV_DEFAULT && HAVE_KW2XRF)
|
|
depends on TEST_KCONFIG
|
|
depends on HAS_PERIPH_GPIO
|
|
depends on HAS_PERIPH_GPIO_IRQ
|
|
depends on HAS_PERIPH_SPI
|
|
select MODULE_CORE_THREAD_FLAGS
|
|
select MODULE_IEEE802154
|
|
select MODULE_LUID
|
|
select MODULE_PERIPH_GPIO
|
|
select MODULE_PERIPH_GPIO_IRQ
|
|
select MODULE_PERIPH_SPI
|
|
select MODULE_IOLIST
|
|
select HAVE_BHP_IRQ_HANDLER
|
|
select HAVE_IEEE802154_RADIO_HAL_INTERFACE
|
|
|
|
config MODULE_KW2XRF_TESTMODE
|
|
bool "Test mode"
|
|
depends on MODULE_KW2XRF
|
|
help
|
|
Enables functionalities to help with module testing.
|
|
|
|
config HAVE_KW2XRF
|
|
bool
|
|
help
|
|
Indicates that a KW2XRF radio is present.
|