1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/ezr32wg/Kconfig
Leandro Lanzieri 339432583c
cpu/ezr32wg: Add Kconfig symbols
Also define CPU_FAM in Makefile.features
2020-06-29 14:01:01 +02:00

38 lines
882 B
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_EZR32WG
bool
select CPU_CORE_CORTEX_M4F
select HAS_CORTEXM_MPU
select HAS_CPU_EZR32WG
select HAS_PERIPH_CPUID
select HAS_PERIPH_GPIO
select HAS_PERIPH_GPIO_IRQ
## CPU Models
config CPU_MODEL_EZR32WG330F256R60
bool
select CPU_FAM_EZR32WG
## Definition of specific features
config HAS_CPU_EZR32WG
bool
help
Indicates that an 'ezr32wg' cpu is being used.
## Common CPU symbols
config CPU_FAM
default "ezr32wg" if CPU_FAM_EZR32WG
config CPU_MODEL
default "ezr32wg330f256r60" if CPU_MODEL_EZR32WG330F256R60
config CPU
default "ezr32wg" if CPU_FAM_EZR32WG
source "$(RIOTCPU)/cortexm_common/Kconfig"