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:
parent
96de3ce511
commit
065c27555b
@ -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
24
drivers/w5100/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_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.
|
2
tests/driver_w5100/app.config.test
Normal file
2
tests/driver_w5100/app.config.test
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_MODULE_TEST_UTILS_NETDEV_ETH_MINIMAL=y
|
||||
CONFIG_MODULE_W5100=y
|
Loading…
Reference in New Issue
Block a user