2022-07-06 16:08:13 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022 STMicroelectronics
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2022-07-26 21:55:17 +08:00
|
|
|
|
2022-07-06 16:08:13 +08:00
|
|
|
/delete-node/ &scratch_partition;
|
2022-07-26 21:55:17 +08:00
|
|
|
/delete-node/ &storage_partition;
|
2022-07-06 16:08:13 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
zephyr,flash-controller = &flash0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&flash0 {
|
|
|
|
partitions {
|
|
|
|
/* Set 6Kb of storage at the end of the 1Mb of flash */
|
|
|
|
storage_partition: partition@fe800 {
|
|
|
|
label = "storage";
|
|
|
|
reg = <0x000fe800 DT_SIZE_K(6)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|