From 18e288fa3b1328baa9fe9a6656dd362b2b2632e6 Mon Sep 17 00:00:00 2001 From: Roy Jamil Date: Mon, 20 Oct 2025 18:33:43 +0200 Subject: [PATCH] scripts: puncover: Fix compatibility with v0.6.0 Signed-off-by: Roy Jamil Puncover v0.6.0 renamed the command-line argument `--gcc_tools_base` to `--gcc-tools-base`. Fixes compatibility error when running `west build -t puncover` with puncover v0.6.0 or newer. --- cmake/reports/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/reports/CMakeLists.txt b/cmake/reports/CMakeLists.txt index a65482ac10ac8..7f282b6029e9c 100644 --- a/cmake/reports/CMakeLists.txt +++ b/cmake/reports/CMakeLists.txt @@ -128,7 +128,7 @@ if(NOT ${PUNCOVER} STREQUAL PUNCOVER-NOTFOUND) puncover ${PUNCOVER} --elf_file ${ZEPHYR_BINARY_DIR}/${KERNEL_ELF_NAME} - --gcc_tools_base ${CROSS_COMPILE} + --gcc-tools-base ${CROSS_COMPILE} --src_root ${ZEPHYR_BASE} --build_dir ${CMAKE_BINARY_DIR} ${PUNCOVER_ARGS}