From 96f31ec39b4fdf776166d4f4a2767980c7ae8417 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 19 Nov 2021 11:31:27 +0100 Subject: [PATCH] cpu/lpc1768: add Kconfig configuration --- cpu/lpc1768/Makefile.features | 6 ++++++ cpu/lpc1768/lpc1768.config | 1 + 2 files changed, 7 insertions(+) create mode 100644 cpu/lpc1768/lpc1768.config diff --git a/cpu/lpc1768/Makefile.features b/cpu/lpc1768/Makefile.features index 6f3c2419e5..62c0d92de0 100644 --- a/cpu/lpc1768/Makefile.features +++ b/cpu/lpc1768/Makefile.features @@ -8,3 +8,9 @@ FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_pm include $(RIOTCPU)/cortexm_common/Makefile.features + +# This configuration enables modules that are only available when using Kconfig +# module modelling +ifeq (1, $(TEST_KCONFIG)) + KCONFIG_ADD_CONFIG += $(RIOTCPU)/lpc1768/lpc1768.config +endif diff --git a/cpu/lpc1768/lpc1768.config b/cpu/lpc1768/lpc1768.config new file mode 100644 index 0000000000..811b1f3712 --- /dev/null +++ b/cpu/lpc1768/lpc1768.config @@ -0,0 +1 @@ +CONFIG_MODULE_PM_LAYERED=y