Skip to content

Commit d2b6797

Browse files
authored
Merge pull request #14159 from jeromecoutant/PR_CMAKE_F7
CMAKE : correct "Cortex-M7F" link parameter
2 parents 5860bd3 + 541c681 commit d2b6797

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tools/cmake/cores/Cortex-M7F.cmake

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,11 @@ if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
1010
"-mcpu=cortex-m7"
1111
)
1212
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
13-
list(APPEND c_cxx_compile_options
13+
list(APPEND common_options
1414
"-mcpu=cortex-m7"
1515
"-mfpu=fpv5-sp-d16"
1616
"-mfloat-abi=hard"
1717
)
18-
list(APPEND asm_compile_options
19-
"-mcpu=Cortex-M7.fp.sp"
20-
)
21-
list(APPEND link_options
22-
"--cpu=Cortex-M7.fp.sp"
23-
)
2418
endif()
2519

2620

0 commit comments

Comments
 (0)