Skip to content

Commit 9c7fd66

Browse files
committed
ports/zephyr: Add nrf5340dk board.
Signed-off-by: Patrick Joy <[email protected]>
1 parent b4cf82b commit 9c7fd66

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_FLASH=y
2+
CONFIG_FLASH_MAP=y
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Replace default internal storage partition with external flash
2+
3+
/delete-node/ &storage_partition;
4+
5+
&mx25r64 {
6+
partitions {
7+
compatible = "fixed-partitions";
8+
#address-cells = <1>;
9+
#size-cells = <1>;
10+
11+
storage_partition: partition@0 {
12+
reg = <0x00000000 0x800000>;
13+
label = "storage";
14+
};
15+
};
16+
};

0 commit comments

Comments
 (0)