diff --git a/examples/micropython/Kconfig b/examples/micropython/Kconfig new file mode 100644 index 0000000000..32980b2927 --- /dev/null +++ b/examples/micropython/Kconfig @@ -0,0 +1,14 @@ +# 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. +# + +config APPLICATION + bool + default y + depends on TEST_KCONFIG + + select MODULE_PERIPH_ADC if HAS_PERIPH_ADC + select MODULE_PERIPH_SPI if HAS_PERIPH_SPI diff --git a/examples/micropython/Makefile b/examples/micropython/Makefile index 247540cfbe..e5e7829693 100644 --- a/examples/micropython/Makefile +++ b/examples/micropython/Makefile @@ -34,4 +34,7 @@ TESTRUNNER_RESET_AFTER_TERM ?= 1 # failing on native with floating point exception (#15870) TEST_ON_CI_BLACKLIST = native +# avoid running Kconfig by default +SHOULD_RUN_KCONFIG ?= + include $(RIOTBASE)/Makefile.include diff --git a/examples/micropython/app.config.test b/examples/micropython/app.config.test new file mode 100644 index 0000000000..d2c7fc42c9 --- /dev/null +++ b/examples/micropython/app.config.test @@ -0,0 +1 @@ +CONFIG_PACKAGE_MICROPYTHON=y