FIH: Refine the usage of FIH tool
1. Make it skip the build if tfm_s.axf exists. Users can alse
re-build the source code if necessary.
2. Add the support of certain function test
Signed-off-by: Jianliang Shen <jianliang.shen@arm.com>
Change-Id: Id99cf6d9f65da3ea7fe8c3b167cd06ac53d053b9
diff --git a/fih_test_tool/Readme.rst b/fih_test_tool/Readme.rst
index 646b0bf..0209219 100644
--- a/fih_test_tool/Readme.rst
+++ b/fih_test_tool/Readme.rst
@@ -75,7 +75,13 @@
cd <TFM_DIR>
mkdir build
cd build
-<Path to>/fih_test -f LOW
+<Path to>/fih_test -p LOW
+
+# Test with certain function
+<Path to>/fih_test -p LOW -l 2 -f "tfm_hal_set_up_static_boundaries"
+
+# Build the AXF file again if the source code has been changed
+<Path to>/fih_test -p LOW -l 2 -r
```
Fault types