1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/mips_pic32mz: Add Kconfig symbols

This commit is contained in:
Leandro Lanzieri 2020-07-09 10:46:05 +02:00
parent 6091c31bd6
commit 710c21805d
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

36
cpu/mips_pic32mz/Kconfig Normal file
View File

@ -0,0 +1,36 @@
# 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_PIC32MZ
bool
select CPU_COMMON_MIPS_PIC32
select CPU_CORE_M5101
select HAS_CPU_MIPS_PIC32MZ
select HAS_PERIPH_HWRNG
## CPU Models
config CPU_MODEL_P32MZ2048EFG100
bool
select CPU_FAM_PIC32MZ
## Declaration of specific features
config HAS_CPU_MIPS_PIC32MZ
bool
help
Indicates that a 'mips_pic32mz' cpu is being used.
## Common CPU symbols
config CPU_FAM
default "pic32mz" if CPU_FAM_PIC32MZ
config CPU_MODEL
default "p32mz2048efg100" if CPU_MODEL_P32MZ2048EFG100
config CPU
default "mips_pic32mz" if CPU_FAM_PIC32MZ
source "$(RIOTCPU)/mips_pic32_common/Kconfig"