blob: 2c9f30ccf84801f8c29f3c23f47ae1f0f3b8d89a [file] [log] [blame]
Paul Sokolovskye504b322022-12-23 15:25:45 +03001#
2# Copyright (c) 2022-2023, Arm Limited. All rights reserved.
3#
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/.*$"}
Paul Sokolovskye504b322022-12-23 15:25:45 +030015-file_tag+={external, "^trusted-firmware-m/platform/ext/cmsis/.*$"}
16-file_tag+={external, "^trusted-firmware-m/lib/ext/mbedcrypto/.*$"}
David Hu5809b7c2023-07-21 11:54:10 +080017-file_tag+={external, "^trusted-firmware-m/lib/ext/cryptocell-312-runtime/.*$"}
18-file_tag+={external, "^trusted-firmware-m/lib/ext/t_cose/.*$"}
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.
David Hu5809b7c2023-07-21 11:54:10 +080021# TODO make an exception for build/generated, in which source code is
22# built in TF-M binaries.
Paul Sokolovskydd346892023-04-18 15:06:56 +030023-file_tag+={external, "^trusted-firmware-m/build/.*$"}
24
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
32# Ignore vendor platform specific soure code
David Hu5a7e3f32023-09-29 19:33:33 +080033-file_tag+={external, "^trusted-firmware-m/platform/ext/target/.*$"}