| 1 |
/* |
| 2 |
* Copyright (c) 2025 Damien P. George |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: Apache-2.0 |
| 5 |
*/ |
| 6 |
|
| 7 |
/* Delete the defined partitions and create bigger one for storage. */ |
| 8 |
/delete-node/ &slot1_partition; |
| 9 |
/delete-node/ &scratch_partition; |
| 10 |
/delete-node/ &storage_partition; |
| 11 |
&flash0 { |
| 12 |
partitions { |
| 13 |
compatible = "fixed-partitions"; |
| 14 |
#address-cells = <1>; |
| 15 |
#size-cells = <1>; |
| 16 |
|
| 17 |
/* Storage slot: 424 KiB placed after slot0_partition. */ |
| 18 |
storage_partition: partition@70000 { |
| 19 |
label = "storage"; |
| 20 |
reg = <0x00070000 DT_SIZE_K(424)>; |
| 21 |
}; |
| 22 |
}; |
| 23 |
}; |