2020-07-09 10:44:20 +02:00
|
|
|
# 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_ARCH_MIPS32R2
|
|
|
|
bool
|
|
|
|
select HAS_ARCH_32BIT
|
|
|
|
select HAS_ARCH_MIPS32R2
|
2021-01-26 14:55:40 +01:00
|
|
|
select HAS_NEWLIB
|
2020-07-09 10:44:20 +02:00
|
|
|
select HAS_CPP
|
2020-07-23 20:28:32 +02:00
|
|
|
select HAS_LIBSTDCPP
|
2020-07-09 10:44:20 +02:00
|
|
|
select HAS_PERIPH_PM
|
2020-12-18 18:17:32 +01:00
|
|
|
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
2020-07-09 10:44:20 +02:00
|
|
|
|
|
|
|
config CPU_CORE_M4K
|
|
|
|
bool
|
|
|
|
select CPU_ARCH_MIPS32R2
|
|
|
|
|
|
|
|
config CPU_CORE_M5101
|
|
|
|
bool
|
|
|
|
select CPU_ARCH_MIPS32R2
|
|
|
|
|
|
|
|
## Declaration of specific features
|
|
|
|
config HAS_ARCH_MIPS32R2
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that the current architecture is 'mips32r2'.
|
|
|
|
|
|
|
|
## Common CPU symbols
|
|
|
|
config CPU_ARCH
|
|
|
|
default "mips32r2" if CPU_ARCH_MIPS32R2
|
|
|
|
|
|
|
|
config CPU_CORE
|
|
|
|
default "m4k" if CPU_CORE_M4K
|
|
|
|
default "m5101" if CPU_CORE_M5101
|