mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 09:21:19 +01:00
cpu/cc26x0: model features in Kconfig
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
This commit is contained in:
parent
e9a2dcd1e0
commit
132d936df7
40
cpu/cc26x0/Kconfig
Normal file
40
cpu/cc26x0/Kconfig
Normal file
@ -0,0 +1,40 @@
|
||||
# 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_CC26X0_CC13X0
|
||||
bool
|
||||
select CPU_CORE_CORTEX_M3
|
||||
select CPU_COMMON_CC26XX_CC13XX
|
||||
select HAS_CPU_CC26X0
|
||||
select HAS_CORTEXM_MPU
|
||||
|
||||
config CPU_SERIES_CC26X0
|
||||
bool
|
||||
select CPU_FAMILY_CC26X0_CC13X0
|
||||
|
||||
## CPU Models
|
||||
config CPU_MODEL_CC26X0F128
|
||||
bool
|
||||
select CPU_SERIES_CC26X0
|
||||
|
||||
## Definition of specific features
|
||||
config HAS_CPU_CC26X0
|
||||
bool
|
||||
help
|
||||
Indicates that a 'cc26x0' cpu is being used.
|
||||
|
||||
## Common CPU symbols
|
||||
config CPU_FAMILY
|
||||
default "cc26x0_cc13x0" if CPU_FAMILY_CC26X0_CC13X0
|
||||
|
||||
config CPU_SERIES
|
||||
default "cc26x0" if CPU_SERIES_CC26X0
|
||||
|
||||
config CPU_MODEL
|
||||
default "cc26x0f128" if CPU_MODEL_CC26X0F128
|
||||
|
||||
source "$(RIOTCPU)/cc26xx_cc13xx/Kconfig"
|
||||
Loading…
x
Reference in New Issue
Block a user