Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/openthread: Fix Kconfig and broken example #19700

Merged
merged 2 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CONFIG_PACKAGE_OPENTHREAD=y
CONFIG_MODULE_CPP11-COMPAT=y
CONFIG_MODULE_OPENTHREAD-FTD=y
CONFIG_MODULE_OPENTHREAD-CLI-FTD=y
CONFIG_MODULE_NETDEV_DEFAULT=y
Expand Down
8 changes: 1 addition & 7 deletions pkg/openthread/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,28 @@ menuconfig PACKAGE_OPENTHREAD
depends on TEST_KCONFIG

depends on HAS_CPP
select MODULE_CPP11-COMPAT
select MODULE_CPP
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
Expand Down