Skip to content
Permalink
Browse files

boards: nucleo_wb55rg: Configure flash partitions

Configure flash partitions on nucleo_wb55rg

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information...
erwango authored and nashif committed Feb 27, 2019
1 parent 79edb8b commit 25669812947bc506a8e9518ade49d70ca138b3d8
Showing with 38 additions and 0 deletions.
  1. +38 −0 boards/arm/nucleo_wb55rg/nucleo_wb55rg.dts
@@ -67,3 +67,41 @@ arduino_serial: &lpuart1 {
current-speed = <115200>;
status = "ok";
};

&flash0 {
/*
* For more information, see:
* http://docs.zephyrproject.org/latest/devices/dts/flash_partitions.html
*/
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Set all partitions with first 812K of flash */
/* last 212K are reseved for M0 usage */
/* Configure partitions to make use of the whole 812K */

boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0xc000>;
};
slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000C000 0x5b800>;
};
slot1_partition: partition@67800 {
label = "image-1";
reg = <0x00067800 0x5b800>;
};
scratch_partition: partition@c3000 {
label = "image-scratch";
reg = <0x000c3000 0x4000>;
};
storage_partition: partition@c7000 {
label = "storage";
reg = <0x000c7000 0x4000>;
};

};
};

0 comments on commit 2566981

Please sign in to comment.
You can’t perform that action at this time.