From 8df4512960df448850e21c6677f6ef6754151699 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 9 Sep 2020 14:27:53 +0200 Subject: [PATCH] cpu/native: add default configuration --- cpu/native/Makefile.features | 6 ++++++ cpu/native/native.config | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 cpu/native/native.config diff --git a/cpu/native/Makefile.features b/cpu/native/Makefile.features index 023c7e56df..a2e82ccce3 100644 --- a/cpu/native/Makefile.features +++ b/cpu/native/Makefile.features @@ -25,3 +25,9 @@ ifeq ($(OS),Linux) # CAN is only supported on Linux through socketCAN FEATURES_PROVIDED += periph_can endif + +# This configuration enables modules that are only available when using Kconfig +# module modelling +ifeq (1, $(TEST_KCONFIG)) + KCONFIG_ADD_CONFIG += $(RIOTCPU)/native/native.config +endif diff --git a/cpu/native/native.config b/cpu/native/native.config new file mode 100644 index 0000000000..92d9ea6d2c --- /dev/null +++ b/cpu/native/native.config @@ -0,0 +1,2 @@ +# UART is needed by startup.c +CONFIG_MODULE_PERIPH_UART=y