File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,9 @@ set(CMAKE_AR "armar")
88set (ARM_ELF2BIN "fromelf" )
99set_property (GLOBAL PROPERTY ELF2BIN ${ARM_ELF2BIN} )
1010
11- option (MBEDIDE "Use Arm compiler from Mbed Studio" OFF )
12- if (MBEDIDE)
13- set_property (GLOBAL PROPERTY MBED_STUDIO_ARM_COMPILER "--ide=mbed" )
14- endif ()
15-
1611# Sets toolchain options
1712function (mbed_set_toolchain_options target )
18- get_property (mbed_studio_arm_compiler GLOBAL PROPERTY MBED_STUDIO_ARM_COMPILER)
1913 list (APPEND common_options
20- "${mbed_studio_arm_compiler} "
2114 "-c"
2215 "--target=arm-arm-none-eabi"
2316 "-mthumb"
@@ -44,11 +37,9 @@ function(mbed_set_toolchain_options target)
4437 target_compile_options (${target}
4538 INTERFACE
4639 $<$<COMPILE_LANGUAGE:ASM>:--target =arm-arm-none-eabi -masm=auto>
47- $<$<COMPILE_LANGUAGE:ASM>:${MBED_STUDIO_ARM_COMPILER} >
4840 )
4941
5042 list (APPEND link_options
51- "${MBED_STUDIO_ARM_COMPILER} "
5243 "--map"
5344 )
5445
You can’t perform that action at this time.
0 commit comments