mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
drivers/encx24j600: model in Kconfig
This commit is contained in:
parent
fa9822e6ef
commit
bc10e6ec79
@ -16,6 +16,7 @@ rsource "$(RIOTCPU)/cc2538/radio/Kconfig"
|
||||
rsource "$(RIOTCPU)/nrf5x_common/radio/Kconfig.nrf5x"
|
||||
rsource "dose/Kconfig"
|
||||
rsource "enc28j60/Kconfig"
|
||||
rsource "encx24j600/Kconfig"
|
||||
rsource "mcp2515/Kconfig"
|
||||
rsource "mrf24j40/Kconfig"
|
||||
rsource "ncv7356/Kconfig"
|
||||
|
24
drivers/encx24j600/Kconfig
Normal file
24
drivers/encx24j600/Kconfig
Normal file
@ -0,0 +1,24 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
config MODULE_ENCX24J600
|
||||
bool "ENCX24J600 Ethernet Adapter"
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_PERIPH_GPIO
|
||||
depends on HAS_PERIPH_GPIO_IRQ
|
||||
depends on HAS_PERIPH_SPI
|
||||
select MODULE_PERIPH_GPIO
|
||||
select MODULE_PERIPH_GPIO_IRQ
|
||||
select MODULE_PERIPH_SPI
|
||||
select MODULE_NETDEV_ETH
|
||||
select MODULE_XTIMER
|
||||
|
||||
config HAVE_ENCX24J600
|
||||
bool
|
||||
select MODULE_ENCX24J600 if MODULE_NETDEV_DEFAULT
|
||||
help
|
||||
Indicates that a ENCX24J600 ethernet adapter is present.
|
2
tests/driver_encx24j600/app.config.test
Normal file
2
tests/driver_encx24j600/app.config.test
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_MODULE_TEST_UTILS_NETDEV_ETH_MINIMAL=y
|
||||
CONFIG_MODULE_ENCX24J600=y
|
Loading…
Reference in New Issue
Block a user