summaryrefslogtreecommitdiff
path: root/examples/build_system
diff options
context:
space:
mode:
authortswan22 <[email protected]>2025-11-01 12:51:40 -0400
committertswan22 <[email protected]>2025-11-01 12:51:40 -0400
commitca44c772f7ad87a8d12de0b3a57ad8816f2edc10 (patch)
tree2ac98dc0c073ca161741751504fdbeb0b710dd11 /examples/build_system
parent9d46cca57637cfd086499970a8f5d5669ba9bfa0 (diff)
parenta6c16d147593732028ed89292805e0e6a972e4b5 (diff)
Merge branch 'master' of https://github.com/hathach/tinyusb
Diffstat (limited to 'examples/build_system')
-rw-r--r--examples/build_system/cmake/toolchain/arm_iar.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/build_system/cmake/toolchain/arm_iar.cmake b/examples/build_system/cmake/toolchain/arm_iar.cmake
index f4c0a500e..0b7e0b585 100644
--- a/examples/build_system/cmake/toolchain/arm_iar.cmake
+++ b/examples/build_system/cmake/toolchain/arm_iar.cmake
@@ -20,7 +20,12 @@ find_program(CMAKE_IAR_REPORT ireport)
if (IAR_CSTAT)
cmake_minimum_required(VERSION 4.1)
-set(CMAKE_C_ICSTAT ${CMAKE_IAR_CSTAT} --checks=${CMAKE_CURRENT_LIST_DIR}/cstat_sel_checks.txt --db=${CMAKE_BINARY_DIR}/cstat.db --sarif_dir=${CMAKE_BINARY_DIR}/cstat_sarif)
+set(CMAKE_C_ICSTAT ${CMAKE_IAR_CSTAT}
+ --checks=${CMAKE_CURRENT_LIST_DIR}/cstat_sel_checks.txt
+ --db=${CMAKE_BINARY_DIR}/cstat.db
+ --sarif_dir=${CMAKE_BINARY_DIR}/cstat_sarif
+ --exclude ${TOP}/hw/mcu --exclude ${TOP}/lib
+ )
endif ()
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake)