diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-01-19 06:57:39 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-01-19 06:57:39 +0100 |
commit | 7d058c4a562635ab8ffa2d79d2795fe225912c38 (patch) | |
tree | 9d68ff263ce1f1288da8ca50ffb35cfddfb1f5d4 /target/config | |
parent | 7571ebeb894381a3f2e95b505aeec66929e89088 (diff) |
Add experimental support for STM32F769
Add single/double precision support for Cortex-M7.
Mostly from Alex, some minor cleanup and kernel
mini config from me.
Signed-off-by: Alex Brand <tecnologic86@gmail.com>
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in.cpu | 1 | ||||
-rw-r--r-- | target/config/Config.in.float | 12 | ||||
-rw-r--r-- | target/config/Config.in.fpu | 3 |
3 files changed, 13 insertions, 3 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index b270ebebc..7d24b3d79 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -1959,6 +1959,7 @@ config ADK_TARGET_CPU_TYPE default "cortex_a17" if ADK_TARGET_CPU_ARM_CORTEX_A17 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 "arm1176jzf_s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S default "arm926ej_s" if ADK_TARGET_CPU_ARM_ARM926EJ_S default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE diff --git a/target/config/Config.in.float b/target/config/Config.in.float index 693010633..8a17873c4 100644 --- a/target/config/Config.in.float +++ b/target/config/Config.in.float @@ -11,7 +11,15 @@ depends on ADK_TARGET_ARCH_ARM || \ config ADK_TARGET_HARD_FLOAT bool "hard-float" - depends on ADK_TARGET_CPU_WITH_FPU + depends on ADK_TARGET_CPU_WITH_FPU && !ADK_TARGET_CPU_WITH_FPU_FPV5 + +config ADK_TARGET_HARD_FLOAT_SP + bool "hard-float-single-precision" + depends on ADK_TARGET_CPU_WITH_FPU && ADK_TARGET_CPU_WITH_FPU_FPV5 + +config ADK_TARGET_HARD_FLOAT_DP + bool "hard-float-double-precision" + depends on ADK_TARGET_CPU_WITH_FPU && ADK_TARGET_CPU_WITH_FPU_FPV5 config ADK_TARGET_SOFT_FLOAT bool "soft-float" @@ -26,6 +34,6 @@ config ADK_TARGET_FLOAT string depends on !ADK_TARGET_ARCH_M68K \ && !ADK_TARGET_ARCH_NIOS2 - default "hard" if ADK_TARGET_HARD_FLOAT + default "hard" if ADK_TARGET_HARD_FLOAT || ADK_TARGET_HARD_FLOAT_SP || ADK_TARGET_HARD_FLOAT_DP default "soft" if ADK_TARGET_SOFT_FLOAT default "softfp" if ADK_TARGET_SOFTFP_FLOAT diff --git a/target/config/Config.in.fpu b/target/config/Config.in.fpu index 9b6c396f7..1ea04be3e 100644 --- a/target/config/Config.in.fpu +++ b/target/config/Config.in.fpu @@ -18,7 +18,8 @@ config ADK_TARGET_FPU 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 "fpv5-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_SP + default "fpv5-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_DP 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 |