Skip to content

Commit

Permalink
examples/micropython: add Kconfig config
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed May 31, 2023
1 parent b93bbe9 commit c7f1226
Show file tree
Hide file tree
Showing 3 changed files with 18 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

0 comments on commit c7f1226

Please sign in to comment.