Skip to content

Commit

Permalink
Merge #19672
Browse files Browse the repository at this point in the history
19672: pkg/micropython: model in Kconfig r=aabadie a=aabadie



Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
  • Loading branch information
bors[bot] and aabadie authored May 31, 2023
2 parents d742513 + c7f1226 commit 32d9c3f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
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

0 comments on commit 32d9c3f

Please sign in to comment.