mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
447cdebd26
> Allows flahsing CCFG configuration using Kconfig, formely "make menuconfig". > Supports cc26x0, cc26x2_cc13x2. > Can be used to enable bootloader backdoor, to use cc2538-bsl flashing script. > Not all options are in Kconfig, most important ones, others can be added in further commits. > On cc13xx targets the VDDR high option can be enabled using Kconfig. > With this, RIOT can flash blank chips and the firmware will run just fine. Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
48 lines
1.0 KiB
Plaintext
48 lines
1.0 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_CC13X2
|
|
bool
|
|
select CPU_COMMON_CC26XX_CC13XX
|
|
select CPU_FAM_CC13XX
|
|
select CPU_CORE_CORTEX_M4F
|
|
select HAS_CPU_CC26X2_CC13X2
|
|
select HAS_CORTEXM_MPU
|
|
|
|
## CPU Models
|
|
config CPU_MODEL_CC1312R1F3
|
|
bool
|
|
select CPU_FAM_CC13X2
|
|
|
|
config CPU_MODEL_CC1352R1
|
|
bool
|
|
select CPU_FAM_CC13X2
|
|
|
|
config CPU_MODEL_CC1352P1
|
|
bool
|
|
select CPU_FAM_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_FAM
|
|
default "cc13x2" if CPU_FAM_CC13X2
|
|
|
|
config CPU_MODEL
|
|
default "cc1312r1f3" if CPU_MODEL_CC1312R1F3
|
|
default "cc1352r1" if CPU_MODEL_CC1352R1
|
|
default "cc1352p1" if CPU_MODEL_CC1352P1
|
|
|
|
config CPU
|
|
default "cc26x2_cc13x2"
|
|
|
|
source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig"
|