From 541c6817c13716778debc95f6b09904240f19365 Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Wed, 20 Jan 2021 10:34:07 +0100 Subject: [PATCH] CMAKE : correct "Cortex-M7F" link options for ARM --- tools/cmake/cores/Cortex-M7F.cmake | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tools/cmake/cores/Cortex-M7F.cmake b/tools/cmake/cores/Cortex-M7F.cmake index 99a349a4ebb..1838c9d83a1 100644 --- a/tools/cmake/cores/Cortex-M7F.cmake +++ b/tools/cmake/cores/Cortex-M7F.cmake @@ -10,17 +10,11 @@ if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM") "-mcpu=cortex-m7" ) elseif(${MBED_TOOLCHAIN} STREQUAL "ARM") - list(APPEND c_cxx_compile_options + list(APPEND common_options "-mcpu=cortex-m7" "-mfpu=fpv5-sp-d16" "-mfloat-abi=hard" ) - list(APPEND asm_compile_options - "-mcpu=Cortex-M7.fp.sp" - ) - list(APPEND link_options - "--cpu=Cortex-M7.fp.sp" - ) endif()