ARMClang: memory map generated by default
I realized that --list is part of ARMClang in CMake modules, this is not the case for Gcc Arm. What is the intention to include --list as part of default flags for armlink? Shall we remove it or add it to Gcc Arm for instance?
We want to have uniformed name command, for Gcc Arm we had to do: "-Wl,-Map=${CMAKE_BINARY_DIR}/${some-name}.map"
to have memory map generated.
I found this when I wanted to redirect the output for info/map for armlink, using --list:
# add these to target_link_options()
"--map"
"--list=test.map"
test.map might not be created as --list=<TARGET_BASE>.map
is already part of armlink and it might be first to be defined in the cmd.