Skip to content

Commit

Permalink
Merge pull request #14159 from jeromecoutant/PR_CMAKE_F7
Browse files Browse the repository at this point in the history
CMAKE : correct "Cortex-M7F" link parameter
  • Loading branch information
0xc0170 committed Jan 20, 2021
2 parents 5860bd3 + 541c681 commit d2b6797
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tools/cmake/cores/Cortex-M7F.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit d2b6797

Please sign in to comment.