diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-01-02 18:42:06 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-01-02 18:42:06 +0100 |
commit | 934977676293077c85c32b32ccf5b75d6ceb493e (patch) | |
tree | e3c40966cb4746ec5af83ade7c4a8201b070d9b2 /target | |
parent | 776d8ced4707c802bd9889cecc035071cca3300c (diff) |
add cortex-m7/cortex-m4 fpu support to toolchain
Diffstat (limited to 'target')
-rw-r--r-- | target/config/Config.in.cpu | 20 | ||||
-rw-r--r-- | target/config/Config.in.fpu | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index 1bfad4d12..e5a7e88e0 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -167,6 +167,16 @@ config ADK_TARGET_CPU_ARM_CORTEX_A57 select ADK_TARGET_CPU_WITH_NEON depends on ADK_TARGET_ARCH_ARM +config ADK_TARGET_CPU_ARM_CORTEX_M7 + bool "cortex-m7" + select ADK_TARGET_SUPPORTS_THREADS + select ADK_TARGET_SUPPORTS_LT + select ADK_TARGET_UCLINUX + select ADK_TARGET_WITHOUT_MMU + select ADK_TARGET_CPU_WITH_THUMB2 + select ADK_TARGET_CPU_WITH_FPU_FPV5 + depends on ADK_TARGET_ARCH_ARM + config ADK_TARGET_CPU_ARM_CORTEX_M4 bool "cortex-m4" select ADK_TARGET_SUPPORTS_THREADS @@ -174,6 +184,7 @@ config ADK_TARGET_CPU_ARM_CORTEX_M4 select ADK_TARGET_UCLINUX select ADK_TARGET_WITHOUT_MMU select ADK_TARGET_CPU_WITH_THUMB2 + select ADK_TARGET_CPU_WITH_FPU_FPV4 depends on ADK_TARGET_ARCH_ARM config ADK_TARGET_CPU_ARM_CORTEX_M3 @@ -1634,6 +1645,14 @@ config ADK_TARGET_CPU_WITH_FPU_VFPV4 bool select ADK_TARGET_CPU_WITH_FPU +config ADK_TARGET_CPU_WITH_FPU_FPV4 + bool + select ADK_TARGET_CPU_WITH_FPU + +config ADK_TARGET_CPU_WITH_FPU_FPV5 + bool + select ADK_TARGET_CPU_WITH_FPU + config ADK_TARGET_CPU_WITH_THUMB bool @@ -1736,6 +1755,7 @@ config ADK_TARGET_GCC_CPU default "cortex-a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57 default "cortex-m3" if ADK_TARGET_CPU_ARM_CORTEX_M3 default "cortex-m4" if ADK_TARGET_CPU_ARM_CORTEX_M4 + default "cortex-m7" if ADK_TARGET_CPU_ARM_CORTEX_M7 default "leon" if ADK_TARGET_CPU_SPARC_LEON default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE default "n13" if ADK_TARGET_CPU_NDS32 diff --git a/target/config/Config.in.fpu b/target/config/Config.in.fpu index a9ac0d63a..9b6c396f7 100644 --- a/target/config/Config.in.fpu +++ b/target/config/Config.in.fpu @@ -17,6 +17,8 @@ config ADK_TARGET_FPU default "vfpv3" if ADK_TARGET_CPU_ARM_CORTEX_A8 && !ADK_TARGET_ARCH_ARM_WITH_NEON default "vfpv3-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A9 && !ADK_TARGET_ARCH_ARM_WITH_NEON default "vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A15 && !ADK_TARGET_ARCH_ARM_WITH_NEON + default "fpv4-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M4 + default "fpv5-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 default "neon-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A5 && ADK_TARGET_ARCH_ARM_WITH_NEON default "neon-vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A7 && ADK_TARGET_ARCH_ARM_WITH_NEON default "neon" if ADK_TARGET_CPU_ARM_CORTEX_A8 && ADK_TARGET_ARCH_ARM_WITH_NEON |