Paul Sokolovsky | e504b32 | 2022-12-23 15:25:45 +0300 | [diff] [blame] | 1 | # |
David Vincze | 2ad6403 | 2025-01-09 14:19:39 +0000 | [diff] [blame] | 2 | # Copyright (c) 2022-2025, Arm Limited. All rights reserved. |
Paul Sokolovsky | e504b32 | 2022-12-23 15:25:45 +0300 | [diff] [blame] | 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 Sokolovsky | 14c6b27 | 2023-04-21 13:49:47 +0300 | [diff] [blame] | 11 | -file_tag+={external, "^mbedtls/.*$"} |
| 12 | -file_tag+={external, "^mcuboot/.*$"} |
| 13 | -file_tag+={external, "^QCBOR/.*$"} |
Paul Sokolovsky | f015c13 | 2023-07-20 15:20:49 +0300 | [diff] [blame] | 14 | -file_tag+={external, "^qcbor/.*$"} |
David Vincze | 2ad6403 | 2025-01-09 14:19:39 +0000 | [diff] [blame] | 15 | -file_tag+={external, "^t_cose/.*$"} |
Paul Sokolovsky | e504b32 | 2022-12-23 15:25:45 +0300 | [diff] [blame] | 16 | -file_tag+={external, "^trusted-firmware-m/platform/ext/cmsis/.*$"} |
| 17 | -file_tag+={external, "^trusted-firmware-m/lib/ext/mbedcrypto/.*$"} |
David Hu | 5809b7c | 2023-07-21 11:54:10 +0800 | [diff] [blame] | 18 | -file_tag+={external, "^trusted-firmware-m/lib/ext/cryptocell-312-runtime/.*$"} |
Paul Sokolovsky | e504b32 | 2022-12-23 15:25:45 +0300 | [diff] [blame] | 19 | |
Paul Sokolovsky | dd34689 | 2023-04-18 15:06:56 +0300 | [diff] [blame] | 20 | # Ignore any auto-generated source files in build dir. |
Xinyu Zhang | a88a2eb | 2023-08-15 17:43:51 +0800 | [diff] [blame] | 21 | # TODO make an exception for ci_build/spe/build-spe/generated in which source code is |
David Hu | 5809b7c | 2023-07-21 11:54:10 +0800 | [diff] [blame] | 22 | # built in TF-M binaries. |
Xinyu Zhang | a88a2eb | 2023-08-15 17:43:51 +0800 | [diff] [blame] | 23 | -file_tag+={external, "^ci_build/.*$"} |
Paul Sokolovsky | dd34689 | 2023-04-18 15:06:56 +0300 | [diff] [blame] | 24 | |
Paul Sokolovsky | dd3af0b | 2023-04-21 21:25:12 +0300 | [diff] [blame] | 25 | # Ignore compiler internal headers. |
| 26 | -file_tag+={external, "^/.+/compiler/gcc-.*$"} |
David Hu | 5809b7c | 2023-07-21 11:54:10 +0800 | [diff] [blame] | 27 | |
| 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 Mazzucato | 935f9cb | 2025-05-16 17:21:07 +0100 | [diff] [blame^] | 32 | # Ignore vendor platform specific source code |
David Hu | 5a7e3f3 | 2023-09-29 19:33:33 +0800 | [diff] [blame] | 33 | -file_tag+={external, "^trusted-firmware-m/platform/ext/target/.*$"} |