Closed
Description
Description of defect
The CMake toolchain function mbed_set_toolchain_options()
in tools/cmake/toolchains/GCC_ARM.cmake
construct the linker script and map file paths using the variable ${APP_TARGET}
instead of the function argument ${target}
. This can cause improper files outputs if APP_TARGET
is not defined.
https://github.com/ARMmbed/mbed-os/blob/master/tools/cmake/toolchains/GCC_ARM.cmake#L22
Target(s) affected by this defect ?
all
Toolchain(s) (name and version) displaying this defect ?
GCC ARM
What version of Mbed-os are you using (tag or sha) ?
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-tools, 4ed041a416e6b8a08eb22ffdfdd2bb111c2f2c84
How is this defect reproduced ?
NA
Metadata
Metadata
Assignees
Labels
No labels