Skip to content

Commit 80f37ae

Browse files
committed
Add sample overlays for Pico/w boards
Signed-off-by: Andreas Wolf <awolf002@gmail.com>
1 parent 6857dca commit 80f37ae

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
/delete-node/ &code_partition;
3+
4+
&flash0 {
5+
partitions {
6+
compatible = "fixed-partitions";
7+
#address-cells = <1>;
8+
#size-cells = <1>;
9+
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+
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+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "rpi_pico.overlay"

0 commit comments

Comments
 (0)