Merge pull request #166 from rbaron/nrf52833-flashfix

Fix nRF52833 flash partitions
This commit is contained in:
rbaron 2023-11-08 08:32:27 +01:00 committed by GitHub
commit d3ddd089bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,6 @@
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
@ -143,33 +142,23 @@
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x0000C000>;
reg = <0x000000000 0xC000>;
};
slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000C000 0x00067000>;
reg = <0x0000C000 0x32000>;
};
slot1_partition: partition@73000 {
slot1_partition: partition@3e000 {
label = "image-1";
reg = <0x00073000 0x00067000>;
reg = <0x0003E000 0x32000>;
};
scratch_partition: partition@da000 {
scratch_partition: partition@70000 {
label = "image-scratch";
reg = <0x000da000 0x0001e000>;
reg = <0x00070000 0xA000>;
};
/*
* 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 {
storage_partition: partition@7a000 {
label = "storage";
reg = <0x000f8000 0x00008000>;
reg = <0x0007A000 0x00006000>;
};
};
};