Hi,

 

Please consider separating the configuration files from the scripts/tools. That would enable re-using the scripts in other projects.

I.e. if the .clang-format file lives in the tf-m repo, then the script running clang-format could be used with multiple repositories.

 

/George

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Salome Thirot via TF-M
Sent: 28 June 2021 11:42
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] Static check framework for TF-M

 

Hi all,

 

Hugo L'Hostis and I have written a series of patches to enable various checks that can be done locally before committing the code, they will be added in the tf-m-tools repository. The patches are the following, any comment is welcome:

 

cppcheck:

https://review.trustedfirmware.org/c/TF-M/tf-m-tools/+/10009/8

 

clang-format:

https://review.trustedfirmware.org/c/TF-M/tf-m-tools/+/10463/2

 

copyright headers:

https://review.trustedfirmware.org/c/TF-M/tf-m-tools/+/10464/2

 

Regards,

Salome