1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #17236 from leandrolanzieri/pr/cpu/cc26xx_cc13xx/model_kconfig

cpu/{cc26xx, cc13xx}: model kconfig
This commit is contained in:
Jean Pierre Dudey 2021-11-21 17:45:57 +01:00 committed by GitHub
commit 7ab6729b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 58 additions and 0 deletions

View File

@ -8,6 +8,8 @@
: ${TEST_BOARDS_LLVM_COMPILE:=""}
: ${TEST_KCONFIG_BOARDS_AVAILABLE:="
cc1352-launchpad
cc2650-launchpad
dwm1001
hifive1
native

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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.

View File

@ -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

View File

@ -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"

View File

@ -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.