forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: tfm_regression_test: Provide a working partition for nucleo_l5
This partition is designed to work regression TFM configuration. Fixes zephyrproject-rtos#59794 Signed-off-by: Erwan Gouriou <[email protected]>
- Loading branch information
1 parent
4c269d0
commit 1a00636
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
samples/tfm_integration/tfm_regression_test/boards/nucleo_l552ze_q_ns.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright (c) 2023 STMicroelectronics | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
|
||
/* This partition table could be used along with TFM configuration: | ||
* - TEST_S=ON (REGRESSION) | ||
* - TFM_PSA_API=ON (IPC) | ||
* | ||
*/ | ||
|
||
/ { | ||
chosen { | ||
zephyr,code-partition = &slot1_partition; | ||
}; | ||
}; | ||
|
||
&flash0 { | ||
|
||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
boot_partition: partition@0 { | ||
label = "mcuboot"; | ||
reg = <0x00000000 DT_SIZE_K(80)>; | ||
read-only; | ||
}; | ||
/* Secure image primary slot */ | ||
slot0_partition: partition@14000 { | ||
label = "image-0"; | ||
reg = <0x00014000 DT_SIZE_K(224)>; | ||
}; | ||
/* Non-secure image primary slot */ | ||
slot1_partition: partition@4c000 { | ||
label = "image-1"; | ||
reg = <0x0004c000 DT_SIZE_K(172)>; | ||
}; | ||
/* | ||
* The flash starting at 0x7F000 and ending at | ||
* 0x80000 is reserved for the application. | ||
*/ | ||
storage_partition: partition@77000 { | ||
label = "storage"; | ||
reg = <0x0007F000 DT_SIZE_K(40)>; | ||
}; | ||
}; | ||
}; |