Skip to content

Commit d1a027f

Browse files
committed
Add comments and spaces in pos/size values
Signed-off-by: Andreas Wolf <awolf002@gmail.com>
1 parent 80f37ae commit d1a027f

File tree

2 files changed

+25
-14
lines changed

2 files changed

+25
-14
lines changed
Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1+
/*
2+
* Copyright (c) 2025 Andreas Wolf <awolf002@gmail.com>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
16

27
/delete-node/ &code_partition;
38

49
&flash0 {
5-
partitions {
6-
compatible = "fixed-partitions";
7-
#address-cells = <1>;
8-
#size-cells = <1>;
10+
partitions {
11+
compatible = "fixed-partitions";
12+
#address-cells = <1>;
13+
#size-cells = <1>;
914

10-
code_partition: partition@100 {
11-
label = "code-partition";
12-
reg = <0x100 (DT_SIZE_M(2)-0x100-DT_SIZE_K(64))>;
13-
read-only;
14-
};
15+
code_partition: partition@100 {
16+
label = "code-partition";
17+
reg = <0x100 (DT_SIZE_M(2) - 0x100 - DT_SIZE_K(64))>;
18+
read-only;
19+
};
1520

16-
storage_partition: storage_partition@1f0000 {
17-
label = "storage-partition";
18-
reg = <(DT_SIZE_M(2)-DT_SIZE_K(64)) (DT_SIZE_K(64))>;
19-
};
20-
};
21+
storage_partition: storage_partition@1f0000 {
22+
label = "storage-partition";
23+
reg = <(DT_SIZE_M(2) - DT_SIZE_K(64)) (DT_SIZE_K(64))>;
24+
};
25+
};
2126
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
/*
2+
* Copyright (c) 2025 Andreas Wolf <awolf002@gmail.com>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
#include "rpi_pico.overlay"

0 commit comments

Comments
 (0)