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

drivers/w5100: model in Kconfig

This commit is contained in:
Leandro Lanzieri 2022-03-02 11:18:59 +01:00
parent 96de3ce511
commit 065c27555b
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
3 changed files with 27 additions and 0 deletions

View File

@ -29,4 +29,5 @@ rsource "sx126x/Kconfig"
rsource "sx127x/Kconfig"
rsource "sx1280/Kconfig"
rsource "tja1042/Kconfig"
rsource "w5100/Kconfig"
endmenu # Network Device Drivers

24
drivers/w5100/Kconfig Normal file
View 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_W5100
bool "W5100 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_LUID
config HAVE_W5100
bool
select MODULE_W5100 if MODULE_NETDEV_DEFAULT
help
Indicates that a w5100 ethernet adapter is present.

View File

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