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

cpu/cc26x2_cc13x2: model features in Kconfig

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
This commit is contained in:
Jean Pierre Dudey 2020-06-04 22:18:20 -05:00
parent d9580514a3
commit e9a2dcd1e0
No known key found for this signature in database
GPG Key ID: 631A70D74E41F1AD

50
cpu/cc26x2_cc13x2/Kconfig Normal file
View File

@ -0,0 +1,50 @@
# Copyright (c) 2020 Locha Inc
#
# 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 CPU_FAMILY_CC26X2_CC13X2
bool
select CPU_CORE_CORTEX_M4F
select CPU_COMMON_CC26XX_CC13XX
select HAS_CPU_CC26X2_CC13X2
select HAS_CORTEXM_MPU
config CPU_SERIES_CC13X2
bool
select CPU_FAMILY_CC26X2_CC13X2
## CPU Models
config CPU_MODEL_CC1312R1F3
bool
select CPU_SERIES_CC13X2
config CPU_MODEL_CC1352R1
bool
select CPU_SERIES_CC13X2
config CPU_MODEL_CC1352P1
bool
select CPU_SERIES_CC13X2
## Definition of specific features
config HAS_CPU_CC26X2_CC13X2
bool
help
Indicates that a 'cc26x2_cc13x2' cpu is being used.
## Common CPU symbols
config CPU_FAMILY
default "cc26x2_cc13x2" if CPU_FAMILY_CC26X2_CC13X2
config CPU_SERIES
default "cc13x2" if CPU_SERIES_CC13X2
config CPU_MODEL
default "cc1312r1f3" if CPU_MODEL_CC1312R1F3
default "cc1352r1" if CPU_MODEL_CC1352R1
default "cc1352p1" if CPU_MODEL_CC1352P1
source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig"