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:
parent
35aba45c1c
commit
96de3ce511
@ -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
21
drivers/ethos/Kconfig
Normal 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
|
@ -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
|
||||
|
6
tests/driver_ethos/app.config.test
Normal file
6
tests/driver_ethos/app.config.test
Normal 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
|
Loading…
Reference in New Issue
Block a user