mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19671
19671: pkg/openthread: model in kconfig r=aabadie a=aabadie Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
This commit is contained in:
commit
9d571c3c46
@ -21,5 +21,6 @@ config BOARD_OPENLABS_KW41Z_MINI_256KIB
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_KW41ZRF
|
||||
select HAVE_SAUL_ADC
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -8,8 +8,7 @@
|
||||
config MODULE_KW41ZRF
|
||||
bool "KW41ZRF radio"
|
||||
depends on TEST_KCONFIG
|
||||
depends on CPU_MODEL_MKW41Z256VHT4
|
||||
depends on CPU_MODEL_MKW41Z512VHT4
|
||||
depends on CPU_MODEL_MKW41Z256VHT4 || CPU_MODEL_MKW41Z512VHT4
|
||||
select MODULE_MCUX_XCVR_MKW41Z
|
||||
select MODULE_IEEE802154
|
||||
select MODULE_NETDEV
|
||||
|
6
examples/openthread/app.config.test
Normal file
6
examples/openthread/app.config.test
Normal file
@ -0,0 +1,6 @@
|
||||
CONFIG_PACKAGE_OPENTHREAD=y
|
||||
CONFIG_MODULE_OPENTHREAD-FTD=y
|
||||
CONFIG_MODULE_OPENTHREAD-CLI-FTD=y
|
||||
CONFIG_MODULE_NETDEV_DEFAULT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
CONFIG_MODULE_PS=y
|
@ -60,6 +60,7 @@ rsource "nanopb/Kconfig"
|
||||
rsource "nanors/Kconfig"
|
||||
rsource "nmsis_sdk/Kconfig"
|
||||
rsource "nrfx/Kconfig"
|
||||
rsource "openthread/Kconfig"
|
||||
rsource "qcbor/Kconfig"
|
||||
rsource "qdsa/Kconfig"
|
||||
rsource "qr-code-generator/Kconfig"
|
||||
|
48
pkg/openthread/Kconfig
Normal file
48
pkg/openthread/Kconfig
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright (c) 2023 Inria
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
menuconfig PACKAGE_OPENTHREAD
|
||||
bool "Openthread network stack"
|
||||
depends on TEST_KCONFIG
|
||||
|
||||
depends on HAS_CPP
|
||||
select MODULE_CPP11-COMPAT
|
||||
select MODULE_EVENT
|
||||
select MODULE_NETDEV
|
||||
select MODULE_OPENTHREAD_CONTRIB
|
||||
select MODULE_OPENTHREAD_CONTRIB_NETDEV
|
||||
select MODULE_L2UTIL
|
||||
select MODULE_TIMEX
|
||||
select MODULE_ZTIMER
|
||||
select MODULE_ZTIMER64
|
||||
select MODULE_ZTIMER_MSEC
|
||||
|
||||
if PACKAGE_OPENTHREAD
|
||||
|
||||
config MODULE_OPENTHREAD-FTD
|
||||
bool "Openthread Full Thread Device"
|
||||
depends on TEST_KCONFIG
|
||||
|
||||
config MODULE_OPENTHREAD-MTD
|
||||
bool "Openthread Minimal Thread Device"
|
||||
depends on TEST_KCONFIG
|
||||
|
||||
config MODULE_OPENTHREAD-CLI-FTD
|
||||
bool "Openthread Full Thread Device CLI"
|
||||
depends on TEST_KCONFIG
|
||||
|
||||
config MODULE_OPENTHREAD-CLI-MTD
|
||||
bool "Openthread Minimal Thread Device CLI"
|
||||
depends on TEST_KCONFIG
|
||||
|
||||
config MODULE_OPENTHREAD_CONTRIB
|
||||
bool
|
||||
|
||||
config MODULE_OPENTHREAD_CONTRIB_NETDEV
|
||||
bool
|
||||
|
||||
endif # PACKAGE_OPENTHREAD
|
Loading…
Reference in New Issue
Block a user