1
0
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:
Leandro Lanzieri 2022-03-02 10:08:51 +01:00
parent 9a4a4ea537
commit fa9822e6ef
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
3 changed files with 28 additions and 0 deletions

View File

@ -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
View 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.

View File

@ -0,0 +1,2 @@
CONFIG_MODULE_TEST_UTILS_NETDEV_ETH_MINIMAL=y
CONFIG_MODULE_ENC28J60=y