Skip to content

Commit b432293

Browse files
FRASTMfabiobaltieri
authored andcommitted
tests: drivers: flash stm32l4 RDP on internal flash partition
Define the storage_partition in the internal flash instead of the external NOR qspi flash, so the testcase can PASS on the disco_l4754_iot1 board. Signed-off-by: Francois Ramu <[email protected]>
1 parent 944ced6 commit b432293

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2023 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Do not use the storage-partition of the external qspi-NOR flash */
8+
/delete-node/ &storage_partition;
9+
10+
&flash0 {
11+
partitions {
12+
compatible = "fixed-partitions";
13+
#address-cells = <1>;
14+
#size-cells = <1>;
15+
16+
/* Reserve 4KiB of flash for storage_partition. */
17+
storage_partition: partition@f0000 {
18+
label = "storage";
19+
reg = <0x000f0000 DT_SIZE_K(4)>;
20+
};
21+
};
22+
};

0 commit comments

Comments
 (0)