blob: 3d52b382c78ba7f45b53dcaf2e19d6293289182f [file] [log] [blame]
Paul Sokolovskye504b322022-12-23 15:25:45 +03001#
David Vincze2ad64032025-01-09 14:19:39 +00002# Copyright (c) 2022-2025, Arm Limited. All rights reserved.
Paul Sokolovskye504b322022-12-23 15:25:45 +03003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# External aka 3rd-party sources included in a project.
7# These are intended to be filtered from MISRA reports (as we don't have
8# control over them, can't easily fix issues in them, and generally that's
9# normally out of scope of the project).
10
Paul Sokolovsky14c6b272023-04-21 13:49:47 +030011-file_tag+={external, "^mbedtls/.*$"}
12-file_tag+={external, "^mcuboot/.*$"}
13-file_tag+={external, "^QCBOR/.*$"}
Paul Sokolovskyf015c132023-07-20 15:20:49 +030014-file_tag+={external, "^qcbor/.*$"}
David Vincze2ad64032025-01-09 14:19:39 +000015-file_tag+={external, "^t_cose/.*$"}
Paul Sokolovskye504b322022-12-23 15:25:45 +030016-file_tag+={external, "^trusted-firmware-m/platform/ext/cmsis/.*$"}
17-file_tag+={external, "^trusted-firmware-m/lib/ext/mbedcrypto/.*$"}
David Hu5809b7c2023-07-21 11:54:10 +080018-file_tag+={external, "^trusted-firmware-m/lib/ext/cryptocell-312-runtime/.*$"}
Paul Sokolovskye504b322022-12-23 15:25:45 +030019
Paul Sokolovskydd346892023-04-18 15:06:56 +030020# Ignore any auto-generated source files in build dir.
Xinyu Zhanga88a2eb2023-08-15 17:43:51 +080021# TODO make an exception for ci_build/spe/build-spe/generated in which source code is
David Hu5809b7c2023-07-21 11:54:10 +080022# built in TF-M binaries.
Xinyu Zhanga88a2eb2023-08-15 17:43:51 +080023-file_tag+={external, "^ci_build/.*$"}
Paul Sokolovskydd346892023-04-18 15:06:56 +030024
Paul Sokolovskydd3af0b2023-04-21 21:25:12 +030025# Ignore compiler internal headers.
26-file_tag+={external, "^/.+/compiler/gcc-.*$"}
David Hu5809b7c2023-07-21 11:54:10 +080027
28# Ignore tf-m-tests. Source code under tf-m-tests will not be included
29# in production release.
30-file_tag+={external, "^tf-m-tests/.*$"}
31
Nicola Mazzucato935f9cb2025-05-16 17:21:07 +010032# Ignore vendor platform specific source code
David Hu5a7e3f32023-09-29 19:33:33 +080033-file_tag+={external, "^trusted-firmware-m/platform/ext/target/.*$"}