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/micropython: model in Kconfig #19672

Merged
merged 2 commits into from
May 31, 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
14 changes: 14 additions & 0 deletions examples/micropython/Kconfig
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions examples/micropython/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions examples/micropython/app.config.test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_PACKAGE_MICROPYTHON=y
1 change: 1 addition & 0 deletions pkg/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ rsource "lz4/Kconfig"
rsource "mbedtls/Kconfig"
rsource "micro-ecc/Kconfig"
rsource "microcoap/Kconfig"
rsource "micropython/Kconfig"
rsource "minmea/Kconfig"
rsource "monocypher/Kconfig"
rsource "mynewt-core/Kconfig"
Expand Down
14 changes: 14 additions & 0 deletions pkg/micropython/Kconfig
Original file line number Diff line number Diff line change
@@ -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 PACKAGE_MICROPYTHON
bool "MicroPython port package"
depends on TEST_KCONFIG

select MODULE_XTIMER
select MODULE_ZTIMER_USEC
select MODULE_STDIN