Skip to content
Commit fa76f068 authored by Ahmed Ismail's avatar Ahmed Ismail Committed by Devaraj Ranganna
Browse files

patches: Use robust patches function to fix corstone300's hardfault



This new way of applying patches is added to fix Corstone300 platform
hardfault exception happening as the TF-M patch
(components/security/trusted_firmware-m/integration/patches
/0001-corstone300-Modify-ISRAM0-to-be-non-secure-partition.patch)
for this platform is sometimes not applied.

Patches are now applied using `git stash` and
`git apply`. This methodology is much better as
it reports whenever the new CMake function fails
to apply a certain patch.

Note:

This solution is based on what TF-M implemented in
`components/security/trusted_firmware-m/library/cmake/
remote_library.cmake`

Signed-off-by: default avatarAhmed Ismail <Ahmed.Ismail@arm.com>
parent 9af76682
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment