mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
# Copyright (c) 2020 HAW Hamburg
|
|
#
|
|
# 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_CC2538
|
|
bool
|
|
select CPU_CORE_CORTEX_M3
|
|
select HAS_CORTEXM_MPU
|
|
select HAS_CPU_CC2538
|
|
select HAS_PERIPH_CPUID
|
|
select HAS_PERIPH_FLASHPAGE
|
|
select HAS_PERIPH_FLASHPAGE_IN_ADDRESS_SPACE
|
|
select HAS_PERIPH_FLASHPAGE_PAGEWISE
|
|
select HAS_PERIPH_GPIO
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
select HAS_PERIPH_HWRNG
|
|
select HAS_PERIPH_RTT_SET_COUNTER
|
|
select HAS_PERIPH_UART_MODECFG
|
|
select HAS_PERIPH_UART_NONBLOCKING
|
|
select HAS_PERIPH_RTT_OVERFLOW
|
|
select HAS_PERIPH_WDT
|
|
select HAVE_CC2538_RF
|
|
|
|
## CPU Models
|
|
config CPU_MODEL_CC2538NF53
|
|
bool
|
|
select CPU_FAM_CC2538
|
|
|
|
config CPU_MODEL_CC2538SF53
|
|
bool
|
|
select CPU_FAM_CC2538
|
|
|
|
## Definition of specific features
|
|
config HAS_CPU_CC2538
|
|
bool
|
|
help
|
|
Indicates that a 'cc2538' cpu is being used.
|
|
|
|
## Common CPU symbols
|
|
config CPU_FAM
|
|
default "cc2538" if CPU_FAM_CC2538
|
|
|
|
config CPU_MODEL
|
|
default "cc2538nf53" if CPU_MODEL_CC2538NF53
|
|
default "cc2538sf53" if CPU_MODEL_CC2538SF53
|
|
|
|
config CPU
|
|
default "cc2538" if CPU_FAM_CC2538
|
|
|
|
config MODULE_PERIPH_UART_NONBLOCKING
|
|
bool
|
|
depends on HAS_PERIPH_UART_NONBLOCKING
|
|
select MODULE_TSRB
|
|
|
|
source "$(RIOTCPU)/cortexm_common/Kconfig"
|