tests: arm_thread_swap_tz: correct dt overlays for stm32 boards

Correct thee dt overlays for the STM32 boards, so the Zephyr
image starting address is in accordance with what TF-m expects
it to be.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2021-05-05 10:21:33 +02:00
commit 0eb3b3c2c0
2 changed files with 9 additions and 17 deletions

View file

@ -6,14 +6,10 @@
/* This partition table should be used along with TFM configuration:
* - TFM_PSA_API=ON (IPC)
* - ISOLATION_LEVEL 2
* - TEST_S=ON (REGRESSION)
* - TEST_NS=ON (REGRESSION)
* - TEST_S=OFF (NO REGRESSION)
*
* In this configuration, TFM binary includes tests. As a consequence,
* its size is bloated and it is not possible to set secondary partitions
* for secured or non secured images.
* In this configuration, TFM binary does not include tests.
* The partition sizes are compatible with TF-M platform flash_layout.h.
*/
/ {
@ -37,12 +33,12 @@
/* Secure image primary slot */
slot0_partition: partition@00013000 {
label = "image-0";
reg = <0x00013000 0x00038000>;
reg = <0x00013000 0x0002A000>;
};
/* Non-secure image primary slot */
slot1_partition: partition@0004B000 {
slot1_partition: partition@40000 {
label = "image-1";
reg = <0x0004B000 0x0002A000>;
reg = <0x00040000 0x00009000>;
};
/*
* The flash starting at 0x7F000 and ending at

View file

@ -5,14 +5,10 @@
*/
/* This partition table should be used along with TFM configuration:
* - TFM_PSA_API=ON (IPC)
* - ISOLATION_LEVEL 2
* - TEST_S=ON (REGRESSION)
* - TEST_NS=OFF (By default)
* - TEST_S=OFF (NO REGRESSION)
*
* In this configuration, TFM binary includes tests. As a consequence,
* its size is bloated and it is not possible to set secondary partitions
* for secured or non secured images.
* In this configuration, TFM binary does not include tests.
* The partition sizes are compatible with TF-M platform flash_layout.h.
*/
/ {