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:
commit
7ab6729b04
2
.murdock
2
.murdock
@ -8,6 +8,8 @@
|
|||||||
: ${TEST_BOARDS_LLVM_COMPILE:=""}
|
: ${TEST_BOARDS_LLVM_COMPILE:=""}
|
||||||
|
|
||||||
: ${TEST_KCONFIG_BOARDS_AVAILABLE:="
|
: ${TEST_KCONFIG_BOARDS_AVAILABLE:="
|
||||||
|
cc1352-launchpad
|
||||||
|
cc2650-launchpad
|
||||||
dwm1001
|
dwm1001
|
||||||
hifive1
|
hifive1
|
||||||
native
|
native
|
||||||
|
@ -17,3 +17,5 @@ config BOARD_CC1312_LAUNCHPAD
|
|||||||
select HAS_PERIPH_GPIO_IRQ
|
select HAS_PERIPH_GPIO_IRQ
|
||||||
select HAS_PERIPH_TIMER
|
select HAS_PERIPH_TIMER
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
|
|
||||||
|
select HAVE_SAUL_GPIO
|
||||||
|
@ -17,3 +17,5 @@ config BOARD_CC1350_LAUNCHPAD
|
|||||||
select HAS_PERIPH_GPIO_IRQ
|
select HAS_PERIPH_GPIO_IRQ
|
||||||
select HAS_PERIPH_TIMER
|
select HAS_PERIPH_TIMER
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
|
|
||||||
|
select HAVE_SAUL_GPIO
|
||||||
|
@ -17,3 +17,5 @@ config BOARD_CC1352_LAUNCHPAD
|
|||||||
select HAS_PERIPH_GPIO_IRQ
|
select HAS_PERIPH_GPIO_IRQ
|
||||||
select HAS_PERIPH_TIMER
|
select HAS_PERIPH_TIMER
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
|
|
||||||
|
select HAVE_SAUL_GPIO
|
||||||
|
@ -17,3 +17,5 @@ config BOARD_CC1352P_LAUNCHPAD
|
|||||||
select HAS_PERIPH_GPIO_IRQ
|
select HAS_PERIPH_GPIO_IRQ
|
||||||
select HAS_PERIPH_TIMER
|
select HAS_PERIPH_TIMER
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
|
|
||||||
|
select HAVE_SAUL_GPIO
|
||||||
|
@ -17,3 +17,5 @@ config BOARD_CC2650_LAUNCHPAD
|
|||||||
select HAS_PERIPH_GPIO_IRQ
|
select HAS_PERIPH_GPIO_IRQ
|
||||||
select HAS_PERIPH_TIMER
|
select HAS_PERIPH_TIMER
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
|
|
||||||
|
select HAVE_SAUL_GPIO
|
||||||
|
@ -12,6 +12,9 @@ config CPU_FAM_CC26X0
|
|||||||
select HAS_CPU_CC26X0_CC13X0
|
select HAS_CPU_CC26X0_CC13X0
|
||||||
select HAS_CORTEXM_MPU
|
select HAS_CORTEXM_MPU
|
||||||
|
|
||||||
|
select MODULE_CC26XX_CC13XX if TEST_KCONFIG
|
||||||
|
select MODULE_CC26X0_DRIVERLIB if TEST_KCONFIG
|
||||||
|
|
||||||
config CPU_FAM_CC13X0
|
config CPU_FAM_CC13X0
|
||||||
bool
|
bool
|
||||||
select CPU_CORE_CORTEX_M3
|
select CPU_CORE_CORTEX_M3
|
||||||
@ -19,6 +22,8 @@ config CPU_FAM_CC13X0
|
|||||||
select HAS_CPU_CC26X0_CC13X0
|
select HAS_CPU_CC26X0_CC13X0
|
||||||
select HAS_CORTEXM_MPU
|
select HAS_CORTEXM_MPU
|
||||||
|
|
||||||
|
select MODULE_CC26XX_CC13XX if TEST_KCONFIG
|
||||||
|
|
||||||
## CPU Models
|
## CPU Models
|
||||||
config CPU_MODEL_CC26X0F128
|
config CPU_MODEL_CC26X0F128
|
||||||
bool
|
bool
|
||||||
@ -47,3 +52,4 @@ config CPU
|
|||||||
default "cc26x0_cc13x0"
|
default "cc26x0_cc13x0"
|
||||||
|
|
||||||
source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig"
|
source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig"
|
||||||
|
rsource "vendor/driverlib/Kconfig"
|
||||||
|
13
cpu/cc26x0_cc13x0/vendor/driverlib/Kconfig
vendored
Normal file
13
cpu/cc26x0_cc13x0/vendor/driverlib/Kconfig
vendored
Normal 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.
|
@ -13,6 +13,8 @@ config CPU_FAM_CC13X2
|
|||||||
select HAS_CPU_CC26X2_CC13X2
|
select HAS_CPU_CC26X2_CC13X2
|
||||||
select HAS_CORTEXM_MPU
|
select HAS_CORTEXM_MPU
|
||||||
|
|
||||||
|
select MODULE_CC26XX_CC13XX if TEST_KCONFIG
|
||||||
|
|
||||||
## CPU Models
|
## CPU Models
|
||||||
config CPU_MODEL_CC1312R1F3
|
config CPU_MODEL_CC1312R1F3
|
||||||
bool
|
bool
|
||||||
|
@ -84,3 +84,15 @@ endif # CC26XX_CC13XX_ROM_BOOTLOADER
|
|||||||
endif # CC26XX_CC13XX_UPDATE_CCFG
|
endif # CC26XX_CC13XX_UPDATE_CCFG
|
||||||
|
|
||||||
source "$(RIOTCPU)/cortexm_common/Kconfig"
|
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"
|
||||||
|
13
cpu/cc26xx_cc13xx/periph/Kconfig
Normal file
13
cpu/cc26xx_cc13xx/periph/Kconfig
Normal 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.
|
Loading…
Reference in New Issue
Block a user