diff --git a/examples/openthread/Makefile b/examples/openthread/Makefile index e653233df9..3ff70f6d36 100644 --- a/examples/openthread/Makefile +++ b/examples/openthread/Makefile @@ -73,4 +73,6 @@ USEMODULE += ps CXXEXFLAGS += -fno-rtti USEMODULE += cpp11-compat +SHOULD_RUN_KCONFIG ?= + include $(RIOTBASE)/Makefile.include diff --git a/examples/openthread/app.config.test b/examples/openthread/app.config.test index 4da792688f..7d430047c7 100644 --- a/examples/openthread/app.config.test +++ b/examples/openthread/app.config.test @@ -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 diff --git a/pkg/openthread/Kconfig b/pkg/openthread/Kconfig index 9ee9d862be..1e9227f033 100644 --- a/pkg/openthread/Kconfig +++ b/pkg/openthread/Kconfig @@ -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