File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 26
26
zephyr,sram = &sram0;
27
27
zephyr,flash = &flash;
28
28
zephyr,flash-controller = &fmu;
29
+ zephyr,code-partition = &slot0_partition;
29
30
zephyr,console = &lpuart0;
30
31
zephyr,shell-uart = &lpuart0;
31
32
};
66
67
};
67
68
};
68
69
70
+ &flash {
71
+ partitions {
72
+ compatible = "fixed-partitions";
73
+ #address-cells = <1>;
74
+ #size-cells = <1>;
75
+
76
+ boot_partition: partition@0 {
77
+ label = "mcuboot";
78
+ reg = <0x00000000 DT_SIZE_K(32)>;
79
+ read-only;
80
+ };
81
+ slot0_partition: partition@8000 {
82
+ label = "image-0";
83
+ reg = <0x00008000 DT_SIZE_K(40)>;
84
+ };
85
+ slot1_partition: partition@12000 {
86
+ label = "image-1";
87
+ reg = <0x00012000 DT_SIZE_K(40)>;
88
+ };
89
+ storage_partition: partition@1C000 {
90
+ label = "storage";
91
+ reg = <0x0001C000 DT_SIZE_K(16)>;
92
+ };
93
+ };
94
+ };
95
+
69
96
&gpio0 {
70
97
status = "okay";
71
98
};
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ toolchain:
15
15
- gnuarmemb
16
16
supported :
17
17
- dma
18
+ - flash
18
19
- gpio
19
20
- uart
20
21
vendor : nxp
You can’t perform that action at this time.
0 commit comments