2020-02-18 15:16:24 +01: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.
|
|
|
|
|
2020-06-11 09:13:56 +02:00
|
|
|
config CPU_ARCH_ARMV6M
|
2020-02-18 15:16:24 +01:00
|
|
|
bool
|
|
|
|
|
2020-06-11 09:13:56 +02:00
|
|
|
config CPU_ARCH_ARMV7M
|
2020-02-18 15:16:24 +01:00
|
|
|
bool
|
|
|
|
|
2020-06-11 09:13:56 +02:00
|
|
|
config CPU_ARCH_ARMV8M
|
2020-02-18 15:16:24 +01:00
|
|
|
bool
|
|
|
|
|
|
|
|
config CPU_ARCH
|
2020-06-11 09:13:56 +02:00
|
|
|
default "armv6m" if CPU_ARCH_ARMV6M
|
|
|
|
default "armv7m" if CPU_ARCH_ARMV7M
|
|
|
|
default "armv8m" if CPU_ARCH_ARMV8M
|
2020-02-18 15:16:24 +01:00
|
|
|
|
|
|
|
config CPU_CORE_CORTEX_M
|
|
|
|
bool
|
|
|
|
|
|
|
|
## Common CPU symbols
|
|
|
|
config CPU_CORE
|
|
|
|
default "cortex-m0" if CPU_CORE_CORTEX_M0
|
|
|
|
default "cortex-m0plus" if CPU_CORE_CORTEX_M0PLUS
|
|
|
|
default "cortex-m23" if CPU_CORE_CORTEX_M23
|
|
|
|
default "cortex-m3" if CPU_CORE_CORTEX_M3
|
2020-06-22 00:23:21 +02:00
|
|
|
default "cortex-m33" if CPU_CORE_CORTEX_M33
|
2020-02-18 15:16:24 +01:00
|
|
|
default "cortex-m4" if CPU_CORE_CORTEX_M4
|
|
|
|
default "cortex-m4f" if CPU_CORE_CORTEX_M4F
|
|
|
|
default "cortex-m7" if CPU_CORE_CORTEX_M7
|
|
|
|
|
|
|
|
config CPU_CORE_CORTEX_M0
|
|
|
|
bool
|
2020-06-11 09:13:56 +02:00
|
|
|
select CPU_ARCH_ARMV6M
|
2020-02-18 15:16:24 +01:00
|
|
|
select CPU_CORE_CORTEX_M
|
|
|
|
|
|
|
|
config CPU_CORE_CORTEX_M0PLUS
|
|
|
|
bool
|
2020-06-11 09:13:56 +02:00
|
|
|
select CPU_ARCH_ARMV6M
|
2020-02-18 15:16:24 +01:00
|
|
|
select CPU_CORE_CORTEX_M
|
|
|
|
|
|
|
|
config CPU_CORE_CORTEX_M23
|
|
|
|
bool
|
2020-06-11 09:13:56 +02:00
|
|
|
select CPU_ARCH_ARMV8M
|
2020-02-18 15:16:24 +01:00
|
|
|
select CPU_CORE_CORTEX_M
|
|
|
|
|
|
|
|
config CPU_CORE_CORTEX_M3
|
|
|
|
bool
|
2020-06-11 09:13:56 +02:00
|
|
|
select CPU_ARCH_ARMV7M
|
2020-02-18 15:16:24 +01:00
|
|
|
select CPU_CORE_CORTEX_M
|
|
|
|
|
2020-06-22 00:23:21 +02:00
|
|
|
config CPU_CORE_CORTEX_M33
|
|
|
|
bool
|
|
|
|
select CPU_ARCH_ARMV8M
|
|
|
|
select CPU_CORE_CORTEX_M
|
|
|
|
|
2020-02-18 15:16:24 +01:00
|
|
|
config CPU_CORE_CORTEX_M4
|
|
|
|
bool
|
2020-06-11 09:13:56 +02:00
|
|
|
select CPU_ARCH_ARMV7M
|
2020-02-18 15:16:24 +01:00
|
|
|
select CPU_CORE_CORTEX_M
|
|
|
|
|
|
|
|
config CPU_CORE_CORTEX_M4F
|
|
|
|
bool
|
2020-06-11 09:13:56 +02:00
|
|
|
select CPU_ARCH_ARMV7M
|
2020-02-18 15:16:24 +01:00
|
|
|
select CPU_CORE_CORTEX_M
|
|
|
|
|
|
|
|
config CPU_CORE_CORTEX_M7
|
|
|
|
bool
|
2020-06-11 09:13:56 +02:00
|
|
|
select CPU_ARCH_ARMV7M
|
2020-02-18 15:16:24 +01:00
|
|
|
select CPU_CORE_CORTEX_M
|