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")
8
8
set (ARM_ELF2BIN "fromelf" )
9
9
set_property (GLOBAL PROPERTY ELF2BIN ${ARM_ELF2BIN} )
10
10
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
-
16
11
# Sets toolchain options
17
12
function (mbed_set_toolchain_options target )
18
- get_property (mbed_studio_arm_compiler GLOBAL PROPERTY MBED_STUDIO_ARM_COMPILER )
19
13
list (APPEND common_options
20
- "${mbed_studio_arm_compiler} "
21
14
"-c"
22
15
"--target=arm-arm-none-eabi"
23
16
"-mthumb"
@@ -44,11 +37,9 @@ function(mbed_set_toolchain_options target)
44
37
target_compile_options (${target}
45
38
INTERFACE
46
39
$< $< COMPILE_LANGUAGE:ASM> :--target=arm-arm-none-eabi -masm=auto>
47
- $< $< COMPILE_LANGUAGE:ASM> :${MBED_STUDIO_ARM_COMPILER} >
48
40
)
49
41
50
42
list (APPEND link_options
51
- "${MBED_STUDIO_ARM_COMPILER} "
52
43
"--map"
53
44
)
54
45
You can’t perform that action at this time.
0 commit comments