mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5c8e3c7c93
At least the CC2650 doesn't have an MPU, I assume this is also true for the rest of the family. The CC2652 does have an MPU according to the datasheet. So I keep the feature there in place.
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
# 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_FAM_CC26X0
|
|
bool
|
|
select CPU_CORE_CORTEX_M3
|
|
select CPU_COMMON_CC26XX_CC13XX
|
|
select HAS_CPU_CC26X0_CC13X0
|
|
|
|
select MODULE_CC26XX_CC13XX if TEST_KCONFIG
|
|
select MODULE_CC26X0_DRIVERLIB if TEST_KCONFIG
|
|
|
|
config CPU_FAM_CC13X0
|
|
bool
|
|
select CPU_CORE_CORTEX_M3
|
|
select CPU_COMMON_CC26XX_CC13XX
|
|
select HAS_CPU_CC26X0_CC13X0
|
|
|
|
select MODULE_CC26XX_CC13XX if TEST_KCONFIG
|
|
|
|
## CPU Models
|
|
config CPU_MODEL_CC26X0F128
|
|
bool
|
|
select CPU_FAM_CC26X0
|
|
|
|
config CPU_MODEL_CC13X0F128
|
|
bool
|
|
select CPU_FAM_CC13X0
|
|
|
|
## Definition of specific features
|
|
config HAS_CPU_CC26X0_CC13X0
|
|
bool
|
|
help
|
|
Indicates that a 'cc26x0_cc13x0' cpu is being used.
|
|
|
|
## Common CPU symbols
|
|
config CPU_FAM
|
|
default "cc26x0" if CPU_FAM_CC26X0
|
|
default "cc13x0" if CPU_FAM_CC13X0
|
|
|
|
config CPU_MODEL
|
|
default "cc26x0f128" if CPU_MODEL_CC26X0F128
|
|
default "cc13x0f128" if CPU_MODEL_CC13X0F128
|
|
|
|
config CPU
|
|
default "cc26x0_cc13x0"
|
|
|
|
source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig"
|
|
rsource "vendor/driverlib/Kconfig"
|