Skip to content

Commit e3d9d8e

Browse files
ThinkTransitdpgeorge
authored andcommitted
zephyr/boards: Add nrf5340dk board configuration.
Add support for the nrf5340dk. This DK has a MX25R64 8mb external QSPI flash chip. Compile using: $ west build -b nrf5340dk/nrf5340/cpuapp Signed-off-by: Patrick Joy <[email protected]>
1 parent d939511 commit e3d9d8e

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)