Workaround: Enable RAM FS on ST boards
Flash on ST boards in CI LAVA is broken, which would cause unexpected PS
test error and get Open CI blocked.
Enable RAM FS for the time being to unblock CI.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Ie6b622f85dd162b340c0380b8d3689d2c45001d4
diff --git a/tfm_ci_pylib/tfm_build_manager.py b/tfm_ci_pylib/tfm_build_manager.py
index 451ef41..d14ff3d 100644
--- a/tfm_ci_pylib/tfm_build_manager.py
+++ b/tfm_ci_pylib/tfm_build_manager.py
@@ -460,6 +460,8 @@
overwrite_params["test_psa_api"] += " -DCC312_LEGACY_DRIVER_API_ENABLED=OFF"
if i.tfm_platform == "arm/musca_b1/sse_200":
overwrite_params["test_psa_api"] += " -DITS_RAM_FS=ON -DPS_RAM_FS=ON"
+ if i.tfm_platform == "stm/stm32l562e_dk":
+ overwrite_params["test_psa_api"] += " -DITS_RAM_FS=ON -DPS_RAM_FS=ON"
if i.extra_params == "FPHARD" or i.extra_params == "FPHARD_LOFF":
overwrite_params["test_psa_api"] += " -DTEST_S_FPU=ON -DTEST_NS_FPU=ON"
build_cfg["config_template"] %= overwrite_params