diff --git a/.murdock b/.murdock index acfa383185..5a800f0c58 100755 --- a/.murdock +++ b/.murdock @@ -8,6 +8,8 @@ : ${TEST_BOARDS_LLVM_COMPILE:=""} : ${TEST_KCONFIG_BOARDS_AVAILABLE:=" +cc1352-launchpad +cc2650-launchpad dwm1001 hifive1 native diff --git a/boards/cc1312-launchpad/Kconfig b/boards/cc1312-launchpad/Kconfig index 1cae147902..4b96a43597 100644 --- a/boards/cc1312-launchpad/Kconfig +++ b/boards/cc1312-launchpad/Kconfig @@ -17,3 +17,5 @@ config BOARD_CC1312_LAUNCHPAD select HAS_PERIPH_GPIO_IRQ select HAS_PERIPH_TIMER select HAS_PERIPH_UART + + select HAVE_SAUL_GPIO diff --git a/boards/cc1350-launchpad/Kconfig b/boards/cc1350-launchpad/Kconfig index bd2bc97bf4..4557817d67 100644 --- a/boards/cc1350-launchpad/Kconfig +++ b/boards/cc1350-launchpad/Kconfig @@ -17,3 +17,5 @@ config BOARD_CC1350_LAUNCHPAD select HAS_PERIPH_GPIO_IRQ select HAS_PERIPH_TIMER select HAS_PERIPH_UART + + select HAVE_SAUL_GPIO diff --git a/boards/cc1352-launchpad/Kconfig b/boards/cc1352-launchpad/Kconfig index 9cc6aed34a..7a66d69251 100644 --- a/boards/cc1352-launchpad/Kconfig +++ b/boards/cc1352-launchpad/Kconfig @@ -17,3 +17,5 @@ config BOARD_CC1352_LAUNCHPAD select HAS_PERIPH_GPIO_IRQ select HAS_PERIPH_TIMER select HAS_PERIPH_UART + + select HAVE_SAUL_GPIO diff --git a/boards/cc1352p-launchpad/Kconfig b/boards/cc1352p-launchpad/Kconfig index fb9d550a09..03e6455e6c 100644 --- a/boards/cc1352p-launchpad/Kconfig +++ b/boards/cc1352p-launchpad/Kconfig @@ -17,3 +17,5 @@ config BOARD_CC1352P_LAUNCHPAD select HAS_PERIPH_GPIO_IRQ select HAS_PERIPH_TIMER select HAS_PERIPH_UART + + select HAVE_SAUL_GPIO diff --git a/boards/cc2650-launchpad/Kconfig b/boards/cc2650-launchpad/Kconfig index db5242befd..c02ce037d2 100644 --- a/boards/cc2650-launchpad/Kconfig +++ b/boards/cc2650-launchpad/Kconfig @@ -17,3 +17,5 @@ config BOARD_CC2650_LAUNCHPAD select HAS_PERIPH_GPIO_IRQ select HAS_PERIPH_TIMER select HAS_PERIPH_UART + + select HAVE_SAUL_GPIO diff --git a/cpu/cc26x0_cc13x0/Kconfig b/cpu/cc26x0_cc13x0/Kconfig index a6b3dab263..3a68ea76ca 100644 --- a/cpu/cc26x0_cc13x0/Kconfig +++ b/cpu/cc26x0_cc13x0/Kconfig @@ -12,6 +12,9 @@ config CPU_FAM_CC26X0 select HAS_CPU_CC26X0_CC13X0 select HAS_CORTEXM_MPU + select MODULE_CC26XX_CC13XX if TEST_KCONFIG + select MODULE_CC26X0_DRIVERLIB if TEST_KCONFIG + config CPU_FAM_CC13X0 bool select CPU_CORE_CORTEX_M3 @@ -19,6 +22,8 @@ config CPU_FAM_CC13X0 select HAS_CPU_CC26X0_CC13X0 select HAS_CORTEXM_MPU + select MODULE_CC26XX_CC13XX if TEST_KCONFIG + ## CPU Models config CPU_MODEL_CC26X0F128 bool @@ -47,3 +52,4 @@ config CPU default "cc26x0_cc13x0" source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig" +rsource "vendor/driverlib/Kconfig" diff --git a/cpu/cc26x0_cc13x0/vendor/driverlib/Kconfig b/cpu/cc26x0_cc13x0/vendor/driverlib/Kconfig new file mode 100644 index 0000000000..200a442902 --- /dev/null +++ b/cpu/cc26x0_cc13x0/vendor/driverlib/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_CC26X0_DRIVERLIB + bool + depends on TEST_KCONFIG + depends on CPU_FAM_CC26X0 + help + Functions for SetupTrimDevice. diff --git a/cpu/cc26x2_cc13x2/Kconfig b/cpu/cc26x2_cc13x2/Kconfig index 470da1b0d2..3b25929c5d 100644 --- a/cpu/cc26x2_cc13x2/Kconfig +++ b/cpu/cc26x2_cc13x2/Kconfig @@ -13,6 +13,8 @@ config CPU_FAM_CC13X2 select HAS_CPU_CC26X2_CC13X2 select HAS_CORTEXM_MPU + select MODULE_CC26XX_CC13XX if TEST_KCONFIG + ## CPU Models config CPU_MODEL_CC1312R1F3 bool 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.