[Flash Memory] The flash memory address is wrong for the nucleo overlay
Description
The nucleo overlay has the following dts code for its flash memory adresses.
&flash0 {
/*
* For more information, see:
* http://docs.zephyrproject.org/latest/guides/dts/index.html#flash-partitions
*/
partitions {
/* We have to remove the partition defined in the board dts */
/delete-node/ partition@1f000;
app_partition: partition@0 {
label = "app";
reg = <0x00000 0x7F000>;
};
/* Set 4Kb of storage at the end of the 512Kb of flash */
storage_partition: partition@79000 {
label = "storage";
reg = <0x79000 0x1000>;
};
};
};
The address in the storage partition is wrong.
Correction
The address must be replaced by :
It should be replace by:
app_partition: partition@0 {
label = "app";
reg = <0x00000 0x7F000>;
};
/* Set 4Kb of storage at the end of the 512Kb of flash */
storage_partition: partition@7F000 {
label = "storage";
reg = <0x7F000 0x1000>;
};