From c68fce085040c33a6a8a8ebf5a3ec6b36b4f7d2c Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 19 Nov 2021 10:50:50 +0100 Subject: [PATCH] cpu/cc26xx_cc13xx: model Kconfig --- cpu/cc26xx_cc13xx/Kconfig | 12 ++++++++++++ cpu/cc26xx_cc13xx/periph/Kconfig | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 cpu/cc26xx_cc13xx/periph/Kconfig diff --git a/cpu/cc26xx_cc13xx/Kconfig b/cpu/cc26xx_cc13xx/Kconfig index 07adee8278..2006e114cb 100644 --- a/cpu/cc26xx_cc13xx/Kconfig +++ b/cpu/cc26xx_cc13xx/Kconfig @@ -84,3 +84,15 @@ endif # CC26XX_CC13XX_ROM_BOOTLOADER endif # CC26XX_CC13XX_UPDATE_CCFG source "$(RIOTCPU)/cortexm_common/Kconfig" + +config MODULE_CC26XX_CC13XX + bool + depends on TEST_KCONFIG + depends on CPU_COMMON_CC26XX_CC13XX + select MODULE_PERIPH_COMMON + select MODULE_CC26XX_CC13XX_PERIPH + default y + help + Common code for TI cc26xx/cc13xx family. + +rsource "periph/Kconfig" diff --git a/cpu/cc26xx_cc13xx/periph/Kconfig b/cpu/cc26xx_cc13xx/periph/Kconfig new file mode 100644 index 0000000000..f945a5cb09 --- /dev/null +++ b/cpu/cc26xx_cc13xx/periph/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2021 HAW Hamburg +# +# 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 MODULE_CC26XX_CC13XX_PERIPH + bool + depends on TEST_KCONFIG + depends on CPU_COMMON_CC26XX_CC13XX + help + Common peripheral drivers for TI cc26xx/cc13xx family.