Test: Increase secure test service stack size
Increase the stack size with 0x80 bytes because the
updated version of QCBOR consume a slightly more stack.
Change-Id: I5680a2af86d848bea0e248399da7649cb0c372e3
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/platform/ext/common/armclang/tfm_common_s.sct b/platform/ext/common/armclang/tfm_common_s.sct
index 5e647ea..08b903e 100644
--- a/platform/ext/common/armclang/tfm_common_s.sct
+++ b/platform/ext/common/armclang/tfm_common_s.sct
@@ -429,7 +429,7 @@
}
#if defined (TFM_PSA_API)
- TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK +0 ALIGN 128 EMPTY 0x0C80 {
+ TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK +0 ALIGN 128 EMPTY 0x0D00 {
}
#endif
#endif /* TFM_PARTITION_TEST_SECURE_SERVICES */
diff --git a/platform/ext/common/gcc/tfm_common_s.ld b/platform/ext/common/gcc/tfm_common_s.ld
index ca71889..46732da 100644
--- a/platform/ext/common/gcc/tfm_common_s.ld
+++ b/platform/ext/common/gcc/tfm_common_s.ld
@@ -1140,7 +1140,7 @@
#if defined (TFM_PSA_API)
.TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK : ALIGN(128)
{
- . += 0x0C80;
+ . += 0x0D00;
} > RAM
Image$$TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK$$ZI$$Base = ADDR(.TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK);
Image$$TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK$$ZI$$Limit = ADDR(.TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK) + SIZEOF(.TFM_SP_SECURE_TEST_PARTITION_LINKER_STACK);
diff --git a/test/test_services/tfm_secure_client_service/tfm_test_client_service.yaml b/test/test_services/tfm_secure_client_service/tfm_test_client_service.yaml
index 1a91aac..1aa0f3e 100644
--- a/test/test_services/tfm_secure_client_service/tfm_test_client_service.yaml
+++ b/test/test_services/tfm_secure_client_service/tfm_test_client_service.yaml
@@ -11,7 +11,7 @@
"type": "PSA-ROT",
"priority": "NORMAL",
"entry_point": "tfm_secure_client_service_init",
- "stack_size": "0x0C80",
+ "stack_size": "0x0D00",
"mmio_regions": [
{
"name": "TFM_PERIPHERAL_STD_UART",