Separate fih - #2799
Open
UEWBot wants to merge 4 commits into
Open
Conversation
To facilitate splitting it into a stand-alone repo. Fixes mcu-tools#2798 Signed-off-by: Chris Brand <chris.brand@cypress.com>
Inside the fault_injection_hardening directory, use FIH_PROFILE_* instead of MCUBOOT_FIH_PROFILE_*. In fault_injection_hardening.h, include fih_config.h rather than mcuboot_config.h. Add fih_config.h that maps from MCUBOOT_FIH_PROFILE_* macros to the new FIH_PROFILE_* macros. fault_injection_hardening.h now errors out if none of the 4 FIH_PROFILE_* macros is defined, and fih_config.h provides the "default to NONE" behaviour that was previously applied in fault_injection_hardening.h. Overall, this retains backwards compatibility for mcuboot while facilitating the use of the fault injection hardening code outside of mcuboot. Fixes mcu-tools#2798 Signed-off-by: Chris Brand <chris.brand@cypress.com>
In preparation for splitting this directory into a separate repo, add the various documentation files as needed. Mostly copied directly from the root of the mcuboot repo. Signed-off-by: Chris Brand <chris.brand@cypress.com>
Signed-off-by: Chris Brand <chris.brand@cypress.com>
UEWBot
requested review from
almir-okato,
d3zd3z,
davidvincze,
de-nordic,
nordicjm and
romanjoe
as code owners
July 23, 2026 16:40
Collaborator
|
afaik TF-M wanted to do something similar @davidvincze might know about that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move the fault injection hardening code into its own directory, so that it can be moved into a separate repo.
Issue #2798