49 lines
907 B
Plaintext
49 lines
907 B
Plaintext
/*
|
|
* Copyright (c) 2024 Jacob Winther
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,code-partition = &slot0_partition;
|
|
};
|
|
};
|
|
|
|
&flash0 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
boot_partition: partition@0 {
|
|
label = "mcuboot";
|
|
reg = <0x00000000 0x0000C000>;
|
|
};
|
|
slot0_partition: partition@c000 {
|
|
label = "image-0";
|
|
reg = <0x0000C000 0x00077000>;
|
|
};
|
|
slot1_partition: partition@83000 {
|
|
label = "image-1";
|
|
reg = <0x00083000 0x00075000>;
|
|
};
|
|
|
|
/*
|
|
* The flash starting at 0x000f8000 and ending at
|
|
* 0x000fffff is reserved for use by the application.
|
|
*/
|
|
|
|
/*
|
|
* Storage partition will be used by FCB/LittleFS/NVS
|
|
* if enabled.
|
|
*/
|
|
storage_partition: partition@f8000 {
|
|
label = "storage";
|
|
reg = <0x000f8000 0x00008000>;
|
|
};
|
|
};
|
|
};
|