From 71f558765c7d53d0dad001cd1617d7f6ecf23c8c Mon Sep 17 00:00:00 2001 From: wangchengdong Date: Sun, 14 Sep 2025 15:49:27 +0800 Subject: [PATCH] arch/tricore: add tasking compiler support to gen raw/hex binary tasking compiler toolset does not provide binary generate tool, but the open source gcc compiler is able to do this, this patch will use tricore-elf-objcopy to generate raw binary and hex file when using tasking compiler to do the compiling and linking. Signed-off-by: Chengdong Wang --- arch/tricore/src/cmake/ToolchainTasking.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/tricore/src/cmake/ToolchainTasking.cmake b/arch/tricore/src/cmake/ToolchainTasking.cmake index 2e73a9a74f..7b92105d7c 100644 --- a/arch/tricore/src/cmake/ToolchainTasking.cmake +++ b/arch/tricore/src/cmake/ToolchainTasking.cmake @@ -39,8 +39,8 @@ set(CMAKE_ASM_COMPILER ${TOOLCHAIN_PREFIX}cctc) set(CMAKE_C_COMPILER ${CMAKE_ASM_COMPILER}) set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}cctc) set(CMAKE_STRIP strip --strip-unneeded) -set(CMAKE_OBJCOPY echo) -set(CMAKE_OBJDUMP elfdump) +set(CMAKE_OBJCOPY ${TOOLCHAIN_PREFIX}tricore-elf-objcopy) +set(CMAKE_OBJDUMP ${TOOLCHAIN_PREFIX}elfdump) set(CMAKE_LINKER ${TOOLCHAIN_PREFIX}cctc) set(CMAKE_LD ${TOOLCHAIN_PREFIX}cctc)