Skip to content
Commit 0c23b3ad authored by Jonny Svärd's avatar Jonny Svärd
Browse files

Add CMAKE_OBJCOPY defaults to toolchain files



Specify arm-none-eabi-objcopy as default objcopy binary to use for both
armclang and gcc toolchain files.

The core_platform threadx_demo application depends on CMAKE_OBJCOPY to
mark the RTOS default HardFault_Handler function as weak, to not clash
with the target provided HardFault_Handler. On some systems, especially
x86_64 the host version of objcopy can not handle the Arm format and
linking fails. To avoid this problem, specify a default objcopy binary
to use.

Change-Id: I8504dbbe0803db028eb873e8d82c3e5a21983336
Signed-off-by: Jonny Svärd's avatarJonny Svärd <jonny.svaerd@arm.com>
parent 81174314
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment