Skip to content

Commit d4ae6a9

Browse files
ioannisggalak
authored andcommitted
samples: tfm_ipc: update DT overlay for nucleo_l552ze_q_ns
Update overlay file for nucleo_l552ze_q_ns board, since now the sample does not enable REGRESSION, and thus regular TF-M flash layout for the board is used. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent fa041dd commit d4ae6a9

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

samples/tfm_integration/psa_level_1/boards/nucleo_l552ze_q_ns.overlay

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
* - TEST_S=OFF (NO REGRESSION)
1010
*
1111
* In this configuration, TFM binary does not include tests.
12-
* The partition sizes are compatible with TF-M platform flash_layout.h.
12+
* The partition sizes are compatible with the TF-M platform
13+
* flash_layout.h.
1314
*/
1415

1516
/ {

samples/tfm_integration/tfm_ipc/boards/nucleo_l552ze_q_ns.overlay

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66

77

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

1917
/ {
@@ -37,12 +35,12 @@
3735
/* Secure image primary slot */
3836
slot0_partition: partition@13000 {
3937
label = "image-0";
40-
reg = <0x00013000 0x00038000>;
38+
reg = <0x00013000 0x0002D000>;
4139
};
4240
/* Non-secure image primary slot */
43-
slot1_partition: partition@4b000 {
41+
slot1_partition: partition@40000 {
4442
label = "image-1";
45-
reg = <0x0004B000 0x0002A000>;
43+
reg = <0x00040000 0x00009000>;
4644
};
4745
/*
4846
* The flash starting at 0x7F000 and ending at

0 commit comments

Comments
 (0)