2020-06-05 05:18:20 +02:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2020-06-16 14:23:17 +02:00
|
|
|
config CPU_FAM_CC13X2
|
2020-06-05 05:18:20 +02:00
|
|
|
bool
|
|
|
|
select CPU_COMMON_CC26XX_CC13XX
|
2020-09-28 00:58:11 +02:00
|
|
|
select CPU_FAM_CC13XX
|
2020-06-16 14:23:17 +02:00
|
|
|
select CPU_CORE_CORTEX_M4F
|
2020-06-05 05:18:20 +02:00
|
|
|
select HAS_CPU_CC26X2_CC13X2
|
|
|
|
select HAS_CORTEXM_MPU
|
|
|
|
|
|
|
|
## CPU Models
|
|
|
|
config CPU_MODEL_CC1312R1F3
|
|
|
|
bool
|
2020-06-16 14:23:17 +02:00
|
|
|
select CPU_FAM_CC13X2
|
2020-06-05 05:18:20 +02:00
|
|
|
|
|
|
|
config CPU_MODEL_CC1352R1
|
|
|
|
bool
|
2020-06-16 14:23:17 +02:00
|
|
|
select CPU_FAM_CC13X2
|
2020-06-05 05:18:20 +02:00
|
|
|
|
|
|
|
config CPU_MODEL_CC1352P1
|
|
|
|
bool
|
2020-06-16 14:23:17 +02:00
|
|
|
select CPU_FAM_CC13X2
|
2020-06-05 05:18:20 +02:00
|
|
|
|
|
|
|
## Definition of specific features
|
|
|
|
config HAS_CPU_CC26X2_CC13X2
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a 'cc26x2_cc13x2' cpu is being used.
|
|
|
|
|
|
|
|
## Common CPU symbols
|
2020-06-16 14:23:17 +02:00
|
|
|
config CPU_FAM
|
|
|
|
default "cc13x2" if CPU_FAM_CC13X2
|
2020-06-05 05:18:20 +02:00
|
|
|
|
|
|
|
config CPU_MODEL
|
|
|
|
default "cc1312r1f3" if CPU_MODEL_CC1312R1F3
|
|
|
|
default "cc1352r1" if CPU_MODEL_CC1352R1
|
|
|
|
default "cc1352p1" if CPU_MODEL_CC1352P1
|
|
|
|
|
2020-06-16 14:23:17 +02:00
|
|
|
config CPU
|
|
|
|
default "cc26x2_cc13x2"
|
|
|
|
|
2020-06-05 05:18:20 +02:00
|
|
|
source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig"
|