1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/ethos: model in Kconfig

This commit is contained in:
Leandro Lanzieri 2022-03-02 11:14:15 +01:00
parent 35aba45c1c
commit 96de3ce511
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
4 changed files with 35 additions and 2 deletions

View File

@ -17,6 +17,7 @@ rsource "$(RIOTCPU)/nrf5x_common/radio/Kconfig.nrf5x"
rsource "dose/Kconfig"
rsource "enc28j60/Kconfig"
rsource "encx24j600/Kconfig"
rsource "ethos/Kconfig"
rsource "mcp2515/Kconfig"
rsource "mrf24j40/Kconfig"
rsource "ncv7356/Kconfig"

21
drivers/ethos/Kconfig Normal file
View File

@ -0,0 +1,21 @@
# 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_ETHOS
bool "Ethernet-over-serial (ETHOS)"
depends on TEST_KCONFIG
depends on HAS_PERIPH_UART
select MODULE_PERIPH_UART
select MODULE_IOLIST
select MODULE_NETDEV_ETH
select MODULE_RANDOM
select MODULE_TSRB
config MODULE_ETHOS_STDIO
bool
select MODULE_ISRPIPE
depends on MODULE_ETHOS

View File

@ -13,8 +13,6 @@ choice STDIO_IMPLEMENTATION
default MODULE_STDIO_NATIVE if CPU_ARCH_NATIVE
default MODULE_STDIO_UART
# TODO: add MODULE_STDIO_ETHOS
config MODULE_STDIO_RTT
bool "JLink RTT"
select MODULE_ZTIMER
@ -40,6 +38,13 @@ config MODULE_STDIO_NATIVE
bool "Native"
depends on CPU_ARCH_NATIVE
config MODULE_STDIO_ETHOS
bool "ETHOS"
depends on MODULE_ETHOS
select MODULE_STDIN
select MODULE_ETHOS_STDIO
select USE_STDOUT_BUFFERED
endchoice
config MODULE_STDIN

View File

@ -0,0 +1,6 @@
CONFIG_MODULE_TEST_UTILS_NETDEV_ETH_MINIMAL=y
CONFIG_MODULE_ETHOS=y
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
# Since the makefile cannot we have to override until end of migration
# Remove when TEST_KCONFIG is complete
CONFIG_MODULE_PRNG_MUSL_LCG=y