Browse Source

fix(boards): Remap flash to account for bootloader

xmkb
Nick 4 years ago committed by Pete Johanson
parent
commit
82a5736d08
  1. 21
      app/boards/arm/bluemicro840/bluemicro840_v1.dts
  2. 21
      app/boards/arm/nice_nano/nice_nano.dts
  3. 21
      app/boards/arm/nrf52840_m2/nrf52840_m2.dts
  4. 21
      app/boards/arm/nrfmicro/nrfmicro_11.dts
  5. 23
      app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts
  6. 21
      app/boards/arm/nrfmicro/nrfmicro_13.dts

21
app/boards/arm/bluemicro840/bluemicro840_v1.dts

@ -82,27 +82,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
boot_partition: partition@0 { sd_partition: partition@0 {
label = "adafruit_boot"; label = "softdevice";
reg = <0x000000000 0x0000C000>; reg = <0x00000000 0x00026000>;
}; };
code_partition: partition@26000 { code_partition: partition@26000 {
label = "code_partition"; label = "code_partition";
reg = <0x00026000 0x000d2000>; reg = <0x00026000 0x000c6000>;
}; };
/* /*
* The flash starting at 0x000f8000 and ending at * The flash starting at 0x000ec000 and ending at
* 0x000fffff is reserved for use by the application. * 0x000f3fff is reserved for use by the application.
*/ */
/* /*
* Storage partition will be used by FCB/LittleFS/NVS * Storage partition will be used by FCB/LittleFS/NVS
* if enabled. * if enabled.
*/ */
storage_partition: partition@f8000 { storage_partition: partition@ec000 {
label = "storage"; label = "storage";
reg = <0x000f8000 0x00008000>; reg = <0x000ec000 0x00008000>;
};
boot_partition: partition@f4000 {
label = "adafruit_boot";
reg = <0x000f4000 0x0000c000>;
}; };
}; };
}; };

21
app/boards/arm/nice_nano/nice_nano.dts

@ -91,27 +91,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
boot_partition: partition@0 { sd_partition: partition@0 {
label = "adafruit_boot"; label = "softdevice";
reg = <0x000000000 0x0000C000>; reg = <0x00000000 0x00026000>;
}; };
code_partition: partition@26000 { code_partition: partition@26000 {
label = "code_partition"; label = "code_partition";
reg = <0x00026000 0x000d2000>; reg = <0x00026000 0x000c6000>;
}; };
/* /*
* The flash starting at 0x000f8000 and ending at * The flash starting at 0x000ec000 and ending at
* 0x000fffff is reserved for use by the application. * 0x000f3fff is reserved for use by the application.
*/ */
/* /*
* Storage partition will be used by FCB/LittleFS/NVS * Storage partition will be used by FCB/LittleFS/NVS
* if enabled. * if enabled.
*/ */
storage_partition: partition@f8000 { storage_partition: partition@ec000 {
label = "storage"; label = "storage";
reg = <0x000f8000 0x00008000>; reg = <0x000ec000 0x00008000>;
};
boot_partition: partition@f4000 {
label = "adafruit_boot";
reg = <0x000f4000 0x0000c000>;
}; };
}; };
}; };

21
app/boards/arm/nrf52840_m2/nrf52840_m2.dts

@ -71,27 +71,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
boot_partition: partition@0 { sd_partition: partition@0 {
label = "adafruit_boot"; label = "softdevice";
reg = <0x000000000 0x0000C000>; reg = <0x00000000 0x00026000>;
}; };
code_partition: partition@26000 { code_partition: partition@26000 {
label = "code_partition"; label = "code_partition";
reg = <0x00026000 0x000d2000>; reg = <0x00026000 0x000c6000>;
}; };
/* /*
* The flash starting at 0x000f8000 and ending at * The flash starting at 0x000ec000 and ending at
* 0x000fffff is reserved for use by the application. * 0x000f3fff is reserved for use by the application.
*/ */
/* /*
* Storage partition will be used by FCB/LittleFS/NVS * Storage partition will be used by FCB/LittleFS/NVS
* if enabled. * if enabled.
*/ */
storage_partition: partition@f8000 { storage_partition: partition@ec000 {
label = "storage"; label = "storage";
reg = <0x000f8000 0x00008000>; reg = <0x000ec000 0x00008000>;
};
boot_partition: partition@f4000 {
label = "adafruit_boot";
reg = <0x000f4000 0x0000c000>;
}; };
}; };
}; };

21
app/boards/arm/nrfmicro/nrfmicro_11.dts

@ -72,27 +72,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
boot_partition: partition@0 { sd_partition: partition@0 {
label = "adafruit_boot"; label = "softdevice";
reg = <0x000000000 0x0000C000>; reg = <0x00000000 0x00026000>;
}; };
code_partition: partition@26000 { code_partition: partition@26000 {
label = "code_partition"; label = "code_partition";
reg = <0x00026000 0x000d2000>; reg = <0x00026000 0x000c6000>;
}; };
/* /*
* The flash starting at 0x000f8000 and ending at * The flash starting at 0x000ec000 and ending at
* 0x000fffff is reserved for use by the application. * 0x000f3fff is reserved for use by the application.
*/ */
/* /*
* Storage partition will be used by FCB/LittleFS/NVS * Storage partition will be used by FCB/LittleFS/NVS
* if enabled. * if enabled.
*/ */
storage_partition: partition@f8000 { storage_partition: partition@ec000 {
label = "storage"; label = "storage";
reg = <0x000f8000 0x00008000>; reg = <0x000ec000 0x00008000>;
};
boot_partition: partition@f4000 {
label = "adafruit_boot";
reg = <0x000f4000 0x0000c000>;
}; };
}; };
}; };

23
app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts

@ -72,27 +72,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
boot_partition: partition@0 { sd_partition: partition@0 {
label = "adafruit_boot"; label = "softdevice";
reg = <0x000000000 0x0000C000>; reg = <0x00000000 0x00026000>;
}; };
code_partition: partition@26000 { code_partition: partition@26000 {
label = "code_partition"; label = "code_partition";
reg = <0x00026000 0x000d2000>; reg = <0x00026000 0x000c6000>;
}; };
/* /*
* The flash starting at 0x000f8000 and ending at * The flash starting at 0x000ec000 and ending at
* 0x000fffff is reserved for use by the application. * 0x000f3fff is reserved for use by the application.
*/ */
/* /*
* Storage partition will be used by FCB/LittleFS/NVS * Storage partition will be used by FCB/LittleFS/NVS
* if enabled. * if enabled.
*/ */
storage_partition: partition@f8000 { storage_partition: partition@ec000 {
label = "storage"; label = "storage";
reg = <0x000f8000 0x00008000>; reg = <0x000ec000 0x00008000>;
};
boot_partition: partition@f4000 {
label = "adafruit_boot";
reg = <0x000f4000 0x0000c000>;
}; };
}; };
}; };

21
app/boards/arm/nrfmicro/nrfmicro_13.dts

@ -84,27 +84,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
boot_partition: partition@0 { sd_partition: partition@0 {
label = "adafruit_boot"; label = "softdevice";
reg = <0x000000000 0x0000C000>; reg = <0x00000000 0x00026000>;
}; };
code_partition: partition@26000 { code_partition: partition@26000 {
label = "code_partition"; label = "code_partition";
reg = <0x00026000 0x000d2000>; reg = <0x00026000 0x000c6000>;
}; };
/* /*
* The flash starting at 0x000f8000 and ending at * The flash starting at 0x000ec000 and ending at
* 0x000fffff is reserved for use by the application. * 0x000f3fff is reserved for use by the application.
*/ */
/* /*
* Storage partition will be used by FCB/LittleFS/NVS * Storage partition will be used by FCB/LittleFS/NVS
* if enabled. * if enabled.
*/ */
storage_partition: partition@f8000 { storage_partition: partition@ec000 {
label = "storage"; label = "storage";
reg = <0x000f8000 0x00008000>; reg = <0x000ec000 0x00008000>;
};
boot_partition: partition@f4000 {
label = "adafruit_boot";
reg = <0x000f4000 0x0000c000>;
}; };
}; };
}; };

Loading…
Cancel
Save