mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/enc28j60: model in Kconfig
This commit is contained in:
parent
9a4a4ea537
commit
fa9822e6ef
@ -15,6 +15,7 @@ rsource "cc110x/Kconfig"
|
||||
rsource "$(RIOTCPU)/cc2538/radio/Kconfig"
|
||||
rsource "$(RIOTCPU)/nrf5x_common/radio/Kconfig.nrf5x"
|
||||
rsource "dose/Kconfig"
|
||||
rsource "enc28j60/Kconfig"
|
||||
rsource "mcp2515/Kconfig"
|
||||
rsource "mrf24j40/Kconfig"
|
||||
rsource "ncv7356/Kconfig"
|
||||
|
25
drivers/enc28j60/Kconfig
Normal file
25
drivers/enc28j60/Kconfig
Normal file
@ -0,0 +1,25 @@
|
||||
# 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_ENC28J60
|
||||
bool "ENC28J60 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_PERIPH_EUI_PROVIDER
|
||||
select MODULE_NETDEV_ETH
|
||||
select MODULE_XTIMER
|
||||
|
||||
config HAVE_ENC28J60
|
||||
bool
|
||||
select MODULE_ENC28J60 if MODULE_NETDEV_DEFAULT
|
||||
help
|
||||
Indicates that a ENC28J60 ethernet adapter is present.
|
2
tests/driver_enc28j60/app.config.test
Normal file
2
tests/driver_enc28j60/app.config.test
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_MODULE_TEST_UTILS_NETDEV_ETH_MINIMAL=y
|
||||
CONFIG_MODULE_ENC28J60=y
|
Loading…
Reference in New Issue
Block a user