mirror of https://github.com/ARMmbed/mbed-os.git
CMAKE : correct "Cortex-M7F" link options for ARM
parent
96aa1bb067
commit
541c6817c1
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue