File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
boards/st/nucleo_u385rg_q Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 19
19
zephyr,shell-uart = &usart1;
20
20
zephyr,sram = &sram0;
21
21
zephyr,flash = &flash0;
22
+ zephyr,code-partition = &slot0_partition;
22
23
};
23
24
24
25
leds: leds {
47
48
};
48
49
};
49
50
51
+ &flash0 {
52
+ partitions {
53
+ compatible = "fixed-partitions";
54
+ #address-cells = <1>;
55
+ #size-cells = <1>;
56
+
57
+ /*
58
+ * The following partitioning is dedicated to the use of nucleo_u385rg_q
59
+ * with TZEN=0 (i.e., without TF-M).
60
+ * Place partitions within first 512 KiB to make use of the whole Bank1.
61
+ */
62
+ boot_partition: partition@0 {
63
+ label = "mcuboot";
64
+ reg = <0x00000000 DT_SIZE_K(64)>;
65
+ };
66
+
67
+ slot0_partition: partition@10000 {
68
+ label = "image-0";
69
+ reg = <0x00010000 DT_SIZE_K(192)>;
70
+ };
71
+
72
+ slot1_partition: partition@40000 {
73
+ label = "image-1";
74
+ reg = <0x00040000 DT_SIZE_K(192)>;
75
+ };
76
+
77
+ storage_partition: partition@70000 {
78
+ label = "storage";
79
+ reg = <0x00070000 DT_SIZE_K(64)>;
80
+ };
81
+ };
82
+ };
83
+
50
84
&usart1 {
51
85
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
52
86
pinctrl-names = "default";
You can’t perform that action at this time.
0 commit comments