mirror of https://github.com/ARMmbed/mbed-os.git
CMake cores: fix flag mpcu for asm
parent
3be2d15e2d
commit
4c89f67b65
|
@ -31,7 +31,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-A9>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-A9>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -27,7 +27,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M0plus>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M0plus>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -26,7 +26,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-cpu=Cortex-M0>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M0>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -26,7 +26,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M1>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M1>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -26,7 +26,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M23>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M23>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -26,7 +26,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M23>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M23>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -26,7 +26,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M3>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M3>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -28,7 +28,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M33.no_dsp.no_fp>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M33.no_dsp.no_fp>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -30,7 +30,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M33.no_dsp.no_fp>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M33.no_dsp.no_fp>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -31,7 +31,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M33.no_dsp>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M33.no_dsp>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -31,7 +31,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M33.no_dsp>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M33.no_dsp>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -29,7 +29,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M33>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M33>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -29,7 +29,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M33>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M33>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -28,7 +28,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M4.no_fp>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M4.no_fp>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -40,7 +40,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M4>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M4>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -28,7 +28,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M7.no_fp>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M7.no_fp>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -31,7 +31,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M7.fp.sp>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M7.fp.sp>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
|
@ -31,7 +31,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
|
|||
PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:--cpu=Cortex-M7>
|
||||
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M7>
|
||||
)
|
||||
|
||||
target_link_options(${target}
|
||||
|
|
Loading…
Reference in New Issue