Merge pull request #166 from rbaron/nrf52833-flashfix
Fix nRF52833 flash partitions
This commit is contained in:
commit
d3ddd089bd
1 changed files with 9 additions and 20 deletions
|
|
@ -135,7 +135,6 @@
|
||||||
|
|
||||||
|
|
||||||
&flash0 {
|
&flash0 {
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
@ -143,33 +142,23 @@
|
||||||
|
|
||||||
boot_partition: partition@0 {
|
boot_partition: partition@0 {
|
||||||
label = "mcuboot";
|
label = "mcuboot";
|
||||||
reg = <0x00000000 0x0000C000>;
|
reg = <0x000000000 0xC000>;
|
||||||
};
|
};
|
||||||
slot0_partition: partition@c000 {
|
slot0_partition: partition@c000 {
|
||||||
label = "image-0";
|
label = "image-0";
|
||||||
reg = <0x0000C000 0x00067000>;
|
reg = <0x0000C000 0x32000>;
|
||||||
};
|
};
|
||||||
slot1_partition: partition@73000 {
|
slot1_partition: partition@3e000 {
|
||||||
label = "image-1";
|
label = "image-1";
|
||||||
reg = <0x00073000 0x00067000>;
|
reg = <0x0003E000 0x32000>;
|
||||||
};
|
};
|
||||||
scratch_partition: partition@da000 {
|
scratch_partition: partition@70000 {
|
||||||
label = "image-scratch";
|
label = "image-scratch";
|
||||||
reg = <0x000da000 0x0001e000>;
|
reg = <0x00070000 0xA000>;
|
||||||
};
|
};
|
||||||
|
storage_partition: partition@7a000 {
|
||||||
/*
|
|
||||||
* 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";
|
label = "storage";
|
||||||
reg = <0x000f8000 0x00008000>;
|
reg = <0x0007A000 0x00006000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
Loading…
Add table
Reference in a new issue