Skip to content

Commit 4e7c7ec

Browse files
committed
CMake ARM: move map to unify with Gcc Arm
1 parent f97c7bd commit 4e7c7ec

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ function(mbed_set_mbed_target_linker_script target)
152152
INTERFACE
153153
"--scatter=${mbed_target_linker_script}"
154154
"--predefine=${_linker_preprocess_definitions}"
155+
"--map"
155156
)
156157
endif()
157158
add_custom_command(

tools/cmake/toolchains/ARM.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ function(mbed_set_toolchain_options target)
3939
$<$<COMPILE_LANGUAGE:ASM>:--target=arm-arm-none-eabi -masm=auto>
4040
)
4141

42-
list(APPEND link_options
43-
"--map"
44-
)
45-
4642
# Add linking time preprocessor macro for TFM targets
4743
if(MBED_CPU_CORE MATCHES "\-NS$")
4844
list(APPEND link_options

0 commit comments

Comments
 (0)