File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ CONFIG_MULTITHREADING=y
2
+ CONFIG_SPI=y
3
+ CONFIG_SPI_NOR=y
4
+ CONFIG_FLASH=y
5
+ CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x14000
6
+ CONFIG_MAIN_STACK_SIZE=20480
7
+ CONFIG_BOOT_MAX_IMG_SECTORS=512
8
+ CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
9
+ # Ensure that the qspi driver is disabled by default
10
+ CONFIG_NORDIC_QSPI_NOR=n
11
+
12
+ # TODO: below are not yet supported and need fixing
13
+ CONFIG_FPROTECT=n
14
+
15
+ CONFIG_BOOT_WATCHDOG_FEED=n
Original file line number Diff line number Diff line change
1
+ / {
2
+ chosen {
3
+ nordic,pm-ext-flash = &mx25r64;
4
+ zephyr,code-partition = &boot_partition;
5
+ };
6
+ };
7
+
8
+ /delete-node/ &boot_partition;
9
+ /delete-node/ &slot0_partition;
10
+ /delete-node/ &slot1_partition;
11
+
12
+ /delete-node/ &slot0_ns_partition;
13
+ /delete-node/ &slot1_ns_partition;
14
+
15
+ /delete-node/ &storage_partition;
16
+
17
+ &cpuapp_rram {
18
+ reg = < 0x0 DT_SIZE_K(1524) >;
19
+ partitions {
20
+ boot_partition: partition@0 {
21
+ label = "mcuboot";
22
+ reg = <0x000000000 0x00014000>;
23
+ };
24
+ slot0_partition: partition@14000 {
25
+ label = "image-0";
26
+ reg = <0x000014000 0x0015A000>;
27
+ };
28
+ storage_partition: partition@16E000 {
29
+ label = "storage";
30
+ reg = < 0x16E000 0x9000 >;
31
+ };
32
+ };
33
+ };
34
+
35
+ &mx25r64 {
36
+ status = "okay";
37
+ partitions {
38
+ compatible = "fixed-partitions";
39
+ #address-cells = <1>;
40
+ #size-cells = <1>;
41
+
42
+ slot1_partition: partition@0 {
43
+ label = "image-1";
44
+ reg = <0x000000000 0x0015A000>;
45
+ };
46
+ };
47
+ };
You can’t perform that action at this time.
0 commit comments