-
Notifications
You must be signed in to change notification settings - Fork 7.6k
tf-m: build: Treat warnings as errors #91157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables the build option to treat warnings as errors in the Trusted Firmware-M module starting with TF-M 2.2.0.
- Enable the CONFIG_TFM_WARNINGS_ARE_ERRORS flag.
- Adjust CMake build settings for the trusted-firmware-m module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs TF-M to be updated to 2.2 first?
@ceolin is this a 4.2 change you want to see merged? Or a 4.3 merge? |
afaik it should be, we already have 2.2 which this one targets |
@nashif it should be but we have seen in the upgrade is that CI does not test all the TF-M and I have concerns that enabling this will slow down the release. |
The feature itself is not a problem. But I have some concerns about CI, if we use |
interesting, this whole tf-m update thing started becuase of those issues, and they are still there :(
|
|
ok, now this is associated with a blocker bug |
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Starting in TF-M 2.2.0 there is a build option to treat warnings as errors. Lets use it. Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
Pull fix for undeclared functions. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
|
Starting in TF-M 2.2.0 there is a build option to treat warnings as errors. Lets use it.
Fixes #90864