zephyr/tests/subsys/dfu/mcuboot/nrf52840dk_nrf52840.overlay

35 lines
740 B
Plaintext

/* Copyright (c) 2019 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
&flash0 {
/*
* For more information, see:
* https://docs.zephyrproject.org/latest/guides/dts/legacy-macros.html#legacy-flash-partitions
*/
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x000000000 0x0000E000>;
};
slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000E000 0x000066000>;
};
slot1_partition: partition@73000 {
label = "image-1";
reg = <0x00074000 0x000066000>;
};
scratch_partition: partition@da000 {
label = "image-scratch";
reg = <0x000da000 0x0001e000>;
};
};
};